Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more details in error message when sentence length > max tokens #672

Closed
wants to merge 1 commit into from

Conversation

liezl200
Copy link
Contributor

Summary: title

Reviewed By: jmp84

Differential Revision: D15094977

…acebookresearch#672)

Summary:
Pull Request resolved: facebookresearch#672

title

Reviewed By: jmp84, pipibjc

Differential Revision: D15094977

fbshipit-source-id: 6d94c72bf359a99689338882548742e728ff3735
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 89a6961.

louismartin pushed a commit to louismartin/fairseq that referenced this pull request Mar 24, 2020
Summary:
Pull Request resolved: pytorch/translate#672

1. Fix typos at export side & small code refactor
2. In validate_export, prepend BOS symbol before translation and remove afterwards. So the result of script matches Decoder strictly.

Reviewed By: kahne

Differential Revision: D18846014

fbshipit-source-id: 7abd6f7547c2f1af343ad1090e131d34ed52b4d1
yfyeung pushed a commit to yfyeung/fairseq that referenced this pull request Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants