transformers
🚨🚨 Generate: change order of ops in beam sample to avoid nans
#26843
Merged

🚨🚨 Generate: change order of ops in beam sample to avoid nans #26843

gante
gante change order of ops
ef436851
gante update min_tokens_to_keep
bc855feb
HuggingFaceDocBuilderDev
gante gante changed the title 🚨🚨 Generate: change order of ops in beam sample 🚨🚨 Generate: change order of ops in beam sample to avoid nans 2 years ago
gante gante marked this pull request as ready for review 2 years ago
gante gante requested a review from ArthurZucker ArthurZucker 2 years ago
gante propagate changes to TF
3e4cce7c
ArthurZucker
ArthurZucker approved these changes on 2023-10-17
gante Update src/transformers/generation/utils.py
0aaf8f4d
gante gante merged 4b423e60 into main 2 years ago
gante gante deleted the beam_sample_order_of_ops branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone