Transformers To Mlx

Convert Hugging Face transformers language models to MLX format for Apple Silicon inference. Use when asked to convert a model from transformers to MLX, port a model to MLX, create an MLX implementation of a model, or test/validate an MLX model conversion. Triggers include mentions of "convert to MLX", "MLX implementation", "port to MLX", "mlx-lm", or requests involving both transformers and MLX frameworks.

Hugging Face e26e0e6 18 files · 114.6 KB Updated 10.8k repo stars

File contents

huggingface/transformers-to-mlx/tree/main/skills/transformers-to-mlx commit e26e0e6bec

Frequently asked questions

npx skillmds@latest add huggingface/transformers-to-mlx