We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Phi3Model support phi4 and phi4-mini https://github.com/dotnet/machinelearning/blob/main/src/Microsoft.ML.GenAI.Phi/Module/Phi3Model.cs
The text was updated successfully, but these errors were encountered:
@williamlzw Looks like there is no model architecture change from phi3 to phi4, maybe you can just swap the phi4 model weight into Phi3Model?
Phi3Model
Sorry, something went wrong.
difference: 1.Phi3Attention 2.Tokenizer : gpt-4o 3.RotaryEmbedding
I ported the phi4 model, but the decoding error and the cause was not found.
@williamlzw If you can publish phi4 codebase somewhere I can take a look
The above Tokenizer is the same as python, and the other differences are in the forward method of the model.
LittleLittleCloud
No branches or pull requests
Phi3Model support phi4 and phi4-mini
https://github.com/dotnet/machinelearning/blob/main/src/Microsoft.ML.GenAI.Phi/Module/Phi3Model.cs
The text was updated successfully, but these errors were encountered: