ToluClassics / mlx-transformers

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.
Apache License 2.0
47 stars 4 forks source link

Implemented `XLMRoberta` sub-tasks #5

Closed Seun-Ajayi closed 4 months ago

Seun-Ajayi commented 4 months ago

Proposed changes

Implemented XLMRobertaForSequenceClassification, XLMRobertaForTokenClassification and XLMRobertaForQuestionAnswering and provided their corresponding tests. All tests passed.

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply

ToluClassics commented 4 months ago

Sweet!

ToluClassics commented 4 months ago

Can you run install and run pre-commit on your files

Seun-Ajayi commented 4 months ago

Can you run install and run pre-commit on your files

Used autopep8 before now, would use pre-commit now

Seun-Ajayi commented 4 months ago

Ready to be Merged