-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding eos_token_id (#1654)
Phi3_V eos_token_id has different values for GenerationConfig and Tokenizer. It's required to allow overriding the token_id to align with the sample from model cards. My patches to the original models are ignored: 1. https://huggingface.co/microsoft/Phi-3-vision-128k-instruct/discussions/68 2. https://huggingface.co/microsoft/Phi-3.5-vision-instruct/discussions/35
- Loading branch information
Showing
2 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters