transformers
Fix StopStringCriteria to handle tokens above len(tokenizer)
#35797
Merged

Fix StopStringCriteria to handle tokens above len(tokenizer) #35797

Rocketknight1
Rocketknight1
Rocketknight1 Rocketknight1 force pushed from 6d8878b7 to 50a5fe41 356 days ago
Rocketknight1 Rocketknight1 marked this pull request as ready for review 356 days ago
Rocketknight1
HuggingFaceDocBuilderDev
Rocketknight1 Rocketknight1 force pushed from 42701061 to 2c03877b 343 days ago
Rocketknight1
Rocketknight1 Rocketknight1 requested a review from zucchini-nlp zucchini-nlp 343 days ago
zucchini-nlp
zucchini-nlp approved these changes on 2025-02-06
openhands-agent Fix StopStringCriteria to handle tokens above len(tokenizer)
ef03b4c8
Rocketknight1 Use self.stop_strings instead of stop_strings
647d0db8
Rocketknight1 Handle clipping correctly
b8e17cbd
Rocketknight1 make fixup
f690398b
Rocketknight1 Update test to the new embedding vecs
097c57de
Rocketknight1 Use much bigger values in the mismatch test
cb8a0f93
Rocketknight1 Typo fix
15ff9efc
Rocketknight1 Slight simplification
a322e8d5
Rocketknight1 Rocketknight1 force pushed from 2c03877b to a322e8d5 342 days ago
Rocketknight1
Rocketknight1 Rocketknight1 merged 4563ba2c into main 342 days ago
Rocketknight1 Rocketknight1 deleted the fix-stop-string-criteria-vocab-size branch 342 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone