Skip to content

Formatters update#457

Open
NeoIsALie wants to merge 48 commits intodevfrom
feat/formatter-upd
Open

Formatters update#457
NeoIsALie wants to merge 48 commits intodevfrom
feat/formatter-upd

Conversation

@NeoIsALie
Copy link
Collaborator

@NeoIsALie NeoIsALie commented May 15, 2023

Slightly decrease number of formatters used in Dream. Modified formatters use similar logic with minor differences. Deleted all unused functions.

@NeoIsALie NeoIsALie requested a review from dilyararimovna May 15, 2023 05:53
@NeoIsALie NeoIsALie force-pushed the feat/formatter-upd branch 2 times, most recently from 7e3c27f to ebe504a Compare June 5, 2023 06:26
@NeoIsALie NeoIsALie force-pushed the feat/formatter-upd branch from 760d51e to d7a5be5 Compare June 19, 2023 08:41
@NeoIsALie NeoIsALie force-pushed the feat/formatter-upd branch from 65e7254 to 06f3a1e Compare July 5, 2023 07:58
@NeoIsALie NeoIsALie force-pushed the feat/formatter-upd branch from ae6d9ac to 6641df7 Compare July 24, 2023 07:54
@dilyararimovna
Copy link
Collaborator

Test Dialog. Если смотреть логи, то там ошибки из-за форматтеров.

Screenshot 2023-10-03 at 14 50 19 Screenshot 2023-10-03 at 14 55 17

elif service_name == "summarization-annotator":
return get_sents(dialog)
else:
return dialog
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<img width="1420" alt="Screenshot 2023-11-07 at 13 14 38"
Screenshot 2023-11-07 at 13 14 58
src="https://github.com/deeppavlov/dream/assets/14152126/84651f39-666d-4822-8c25-f345f4c011c0">
в форматтерах подразумевается, что форматтер так и так возвращает батч (просто из одного элемента) -- искусственно оборачивает в лист. А ты как будто где-то это делаешь, а где-то нет. Провреь, пожалуйста -- ошибка в тестах из-за этого 100 %

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хорошо, я посмотрю.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants