Skip to content

Fix multiple temperature scaling in sample_non_deterministic() #20

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

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

dansuissa
Copy link
Collaborator

Ensures that temperature scaling is applied only once by moving it inside softmax() instead of modifying logits multiple times. Fixes issue #19.

Ensures that temperature scaling is applied only once by moving it inside softmax() instead of modifying logits multiple times. Fixes issue Adibvafa#19.
@dansuissa dansuissa requested a review from Adibvafa February 6, 2025 16:31
@Adibvafa
Copy link
Owner

Adibvafa commented Feb 6, 2025

LGTM

@Adibvafa Adibvafa assigned Adibvafa and dansuissa and unassigned Adibvafa Feb 6, 2025
@Adibvafa Adibvafa added the bug Something isn't working label Feb 6, 2025
@Adibvafa Adibvafa merged commit aaa68b4 into Adibvafa:main Feb 6, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants