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

Fix and generalize --temperature option #694

Closed
wants to merge 1 commit into from
Closed

Fix and generalize --temperature option #694

wants to merge 1 commit into from

Conversation

myleott
Copy link
Contributor

@myleott myleott commented May 1, 2019

Summary:
The previous version applied the temperature after the softmax. Fix that, and
also generalize so it works with other search approaches.

Differential Revision: D15175160

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@myleott is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Summary:
Pull Request resolved: pytorch/translate#508

The previous version applied the temperature after the softmax. Fix that, and
also generalize so it works with other search approaches.
Pull Request resolved: #694

Differential Revision: D15175160

fbshipit-source-id: 9d3615b2547d70125947c283283c6aa139177280
@myleott myleott closed this May 4, 2019
@myleott myleott deleted the export-D15175160 branch May 4, 2019 21:06
@myleott myleott restored the export-D15175160 branch May 4, 2019 21:20
facebook-github-bot pushed a commit that referenced this pull request May 4, 2019
Summary:
Pull Request resolved: pytorch/translate#508

The previous version applied the temperature after the softmax. Fix that, and
also generalize so it works with other search approaches.
Pull Request resolved: #694

Differential Revision: D15175160

Pulled By: myleott

fbshipit-source-id: cc87ff0e97a8a1dd37f9983163f58a8641155ab0
facebook-github-bot pushed a commit to pytorch/translate that referenced this pull request May 4, 2019
Summary:
Pull Request resolved: #508

The previous version applied the temperature after the softmax. Fix that, and
also generalize so it works with other search approaches.
Pull Request resolved: facebookresearch/fairseq#694

Differential Revision: D15175160

Pulled By: myleott

fbshipit-source-id: cc87ff0e97a8a1dd37f9983163f58a8641155ab0
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.

2 participants