axolotl
axolotl copied to clipboard
Phi 3 support
trafficstars
⚠️ Please check that this feature request hasn't been suggested before.
- [X] I searched previous Ideas in Discussions didn't find any similar feature requests.
- [X] I searched previous Issues didn't find any similar feature requests.
🔖 Feature description
Would be nice to have support for Phi 3
✔️ Solution
Add support for Phi 3
❓ Alternatives
No response
📝 Additional Context
No response
Acknowledgements
- [X] My issue title is concise, descriptive, and in title casing.
- [X] I have searched the existing issues to make sure this feature has not been requested yet.
- [X] I have provided enough information for the maintainers to understand and evaluate this request.
Any progress on this?
is anyone working on this?
It already works fine.
-
You currently need to install Transformers from git:
pip install git+https://github.com/huggingface/transformers.git -U -
Make a copy of the
examples/phi/phi-qlora.ymltemplate. -
Update the base_model line to the Phi3 model you want.
-
Add the line
trust_remote_code: true.
I have added one example for fft via this pr https://github.com/OpenAccess-AI-Collective/axolotl/pull/1580