transformers
Incorrect setting for num_beams in translation and summarization examples
#27519
Merged

Incorrect setting for num_beams in translation and summarization examples #27519

Rocketknight1 merged 3 commits into main from tf-example-fixes
Rocketknight1
Rocketknight1 Remove the torch main_process_first context manager from TF examples
34ed5947
Rocketknight1 Correctly set num_beams=1 in our examples, and add a guard in Generat…
309b0333
Rocketknight1 Rocketknight1 requested a review from gante gante 2 years ago
Rocketknight1 Rocketknight1 requested a review from amyeroberts amyeroberts 2 years ago
HuggingFaceDocBuilderDev
amyeroberts
amyeroberts approved these changes on 2023-11-15
Rocketknight1 Update src/transformers/generation/configuration_utils.py
e112d790
Rocketknight1 Rocketknight1 merged 2e72bbab into main 2 years ago
Rocketknight1 Rocketknight1 deleted the tf-example-fixes branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone