transformers
Fix single letter stop strings
#31448
Merged

Fix single letter stop strings #31448

Rocketknight1
Rocketknight1 Rocketknight1 requested a review from amyeroberts amyeroberts 1 year ago
HuggingFaceDocBuilderDev
amyeroberts
gante
gante approved these changes on 2024-06-17
Rocketknight1
lapp0
lapp0 requested changes on 2024-06-17
gante
lapp0
lapp0 approved these changes on 2024-06-17
amyeroberts
amyeroberts approved these changes on 2024-06-17
Rocketknight1 Fix single letter stop strings
669c40db
Rocketknight1 Change the 0 to a 1 to avoid potential empty vector headaches later
cbc21c8c
Rocketknight1 Restructure for clarity
98a51f77
Rocketknight1 Update tests/generation/test_stopping_criteria.py
15e7f00a
Rocketknight1 Add the unsqueeze
2c27f3dd
Rocketknight1 Rocketknight1 force pushed to 2c27f3dd 1 year ago
Rocketknight1 Rocketknight1 merged 28316d0e into main 1 year ago
Rocketknight1 Rocketknight1 deleted the fix_single_letter_stop_strings branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone