This repository was archived by the owner on Mar 20, 2026. It is now read-only.
Conversation
If the argument is set to "soft", print probability for each source token, like this: A-0 0.365083,0.328207,0.306710 0.442428,0.340282,0.217290 0.378712,0.367315,0.253973 0.321335,0.425601,0.253064 Each source token is separated from each other by a comma (,) and each target token is separated from each other by a space ( ). This option is based on the Marian NMT's option.
facebook-github-bot
left a comment
Contributor
There was a problem hiding this comment.
@myleott has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
facebook-github-bot
pushed a commit
that referenced
this pull request
Dec 12, 2020
Summary: If the argument is set to "soft", print probability for each source token, like this: A-0 0.365083,0.328207,0.306710 0.442428,0.340282,0.217290 0.378712,0.367315,0.253973 0.321335,0.425601,0.253064 Each source token is separated from each other by a comma (,) and each target token is separated from each other by a space ( ). This option is based on the Marian NMT's option. # Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)? - [x] Did you make sure to update the docs? - [ ] Did you write any new necessary tests? ## PR review Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged. ## Did you have fun? Make sure you had fun coding � Pull Request resolved: #2985 Reviewed By: alexeib Differential Revision: D25344394 Pulled By: myleott fbshipit-source-id: 659eb8f7af1ccdafacaaa91ce5ddf5d71cb3e775
harkash
pushed a commit
to harkash/fairseq
that referenced
this pull request
Feb 23, 2021
Summary: If the argument is set to "soft", print probability for each source token, like this: A-0 0.365083,0.328207,0.306710 0.442428,0.340282,0.217290 0.378712,0.367315,0.253973 0.321335,0.425601,0.253064 Each source token is separated from each other by a comma (,) and each target token is separated from each other by a space ( ). This option is based on the Marian NMT's option. # Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)? - [x] Did you make sure to update the docs? - [ ] Did you write any new necessary tests? ## PR review Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged. ## Did you have fun? Make sure you had fun coding � Pull Request resolved: facebookresearch#2985 Reviewed By: alexeib Differential Revision: D25344394 Pulled By: myleott fbshipit-source-id: 659eb8f7af1ccdafacaaa91ce5ddf5d71cb3e775
jinyiyang-jhu
pushed a commit
to jinyiyang-jhu/fairseq-jyang
that referenced
this pull request
Feb 26, 2021
Summary: If the argument is set to "soft", print probability for each source token, like this: A-0 0.365083,0.328207,0.306710 0.442428,0.340282,0.217290 0.378712,0.367315,0.253973 0.321335,0.425601,0.253064 Each source token is separated from each other by a comma (,) and each target token is separated from each other by a space ( ). This option is based on the Marian NMT's option. # Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)? - [x] Did you make sure to update the docs? - [ ] Did you write any new necessary tests? ## PR review Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged. ## Did you have fun? Make sure you had fun coding � Pull Request resolved: facebookresearch/fairseq#2985 Reviewed By: alexeib Differential Revision: D25344394 Pulled By: myleott fbshipit-source-id: 659eb8f7af1ccdafacaaa91ce5ddf5d71cb3e775
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If the argument is set to "soft", print probability for each source
token, like this:
A-0 0.365083,0.328207,0.306710 0.442428,0.340282,0.217290
0.378712,0.367315,0.253973 0.321335,0.425601,0.253064
Each source token is separated from each other by a comma (,) and each
target token is separated from each other by a space ( ).
This option is based on the Marian NMT's option.
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃