MLX Transformers is a library that provides model implementation in MLX. It uses a similar model interface as HuggingFace Transformers and provides a way to load and run models in Apple Silicon devices.
Implemented PhiForSequenceClassification, PhiForTokenClassification, Phi3ForSequenceClassification, Phi3ForTokenClassification, PersimmonForSequenceClassification. Added tests for all including Persimmon that never had tests
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply
[x] New Model Architecture
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
Proposed changes
Implemented
PhiForSequenceClassification
,PhiForTokenClassification
,Phi3ForSequenceClassification
,Phi3ForTokenClassification
,PersimmonForSequenceClassification
. Added tests for all includingPersimmon
that never had testsTypes of changes
What types of changes does your code introduce? Put an
x
in the boxes that apply