-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting phi-2 tokenizer #7022
Comments
@turian Any idea how I can easily test that? |
Sorry if this is the wrong thread to post in, and I don't know if this is useful, but I thought I'd share a quick attempt I made to convert a Phi 2 model. I ran into the above mentioned error, and tried modifying the two To the update files I added more Phi lines I found searching around the issues here, specifically this thread and:
..and two modifications of
Note that the two To the
Then I tried to run my Frankenstein creation. It seemingly worked, but when testing it I saw this error:
// I tried removing all the phi 1 references, and tried again. Now the error became:
|
Is there anything I can do to get models like Fietje working through a work-around? |
Gave it another try with this PR, which should make 1, 1.5 and 2 work: #8777 |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Feature Description
Provide support for phi-2. Running the following yields an error:
Error:
Phi-2 uses
CodeGenTokenizer
, which is a BPE Tokenizer.I'm not sure if it is as easy as adding the following line here?
Edit tried that, this is the generated hash:
The text was updated successfully, but these errors were encountered: