Examples in the MLX framework
mlx
Go to file
Vaibhav Srivastav 4b7e11bd31
Add URLs to HF MLX-Community org. (#153)
* up

* Add ref to MLX org on the README.

* nit: language.

* Standardise org name.
2023-12-20 06:57:13 -08:00
bert Merge pull request #51 from jbarrow/main 2023-12-13 15:20:29 -08:00
cifar typo / nits 2023-12-14 12:14:01 -08:00
gcn fix comments before merge 2023-12-11 23:10:46 +01:00
llama Add URLs to HF MLX-Community org. (#153) 2023-12-20 06:57:13 -08:00
llms/qwen Add Qwen example (#134) 2023-12-19 13:06:19 -08:00
lora fix use for llama 2 from meta (#144) 2023-12-18 19:33:17 -08:00
mistral Add URLs to HF MLX-Community org. (#153) 2023-12-20 06:57:13 -08:00
mixtral fix RoPE bug + minor updates 2023-12-14 21:45:25 -08:00
mnist Adding Requirements.txt 2023-12-11 20:45:39 -06:00
phi2 Add URLs to HF MLX-Community org. (#153) 2023-12-20 06:57:13 -08:00
speechcommands Added Keyword Spotting Transformer + SpeechCommands example (#123) 2023-12-19 14:17:48 -08:00
stable_diffusion Stable diffusion - check model weights shape and support int for "attention_head_dim" (#85) 2023-12-15 13:01:02 -08:00
t5 T5: Change default dtype to bfloat16 (#147) 2023-12-19 13:44:36 -08:00
transformer_lm black format 2023-12-09 14:15:25 -08:00
whisper format 2023-12-14 16:56:50 -08:00
.gitignore Benchmark all models if user allows. 2023-12-07 00:07:42 +05:30
.pre-commit-config.yaml a few examples 2023-11-29 08:17:26 -08:00
ACKNOWLEDGMENTS.md Added Keyword Spotting Transformer + SpeechCommands example (#123) 2023-12-19 14:17:48 -08:00
CODE_OF_CONDUCT.md contribution + code of conduct 2023-11-29 12:31:18 -08:00
CONTRIBUTING.md Update CONTRIBUTING.md 2023-12-09 08:02:34 +09:00
LICENSE consistent copyright 2023-11-30 11:11:04 -08:00
README.md Add URLs to HF MLX-Community org. (#153) 2023-12-20 06:57:13 -08:00

MLX Examples

This repo contains a variety of standalone examples using the MLX framework.

The MNIST example is a good starting point to learn how to use MLX.

Some more useful examples include:

Note: You can now directly download a few converted checkpoints from the MLX Community organisation on Hugging Face.

Contributing

We are grateful for all of our contributors. If you contribute to MLX Examples and wish to be acknowledged, please add your name to to the list in your pull request.

Citing MLX Examples

The MLX software suite was initially developed with equal contribution by Awni Hannun, Jagrit Digani, Angelos Katharopoulos, and Ronan Collobert. If you find MLX Examples useful in your research and wish to cite it, please use the following BibTex entry:

@software{mlx2023,
  author = {Awni Hannun and Jagrit Digani and Angelos Katharopoulos and Ronan Collobert},
  title = {{MLX}: Efficient and flexible machine learning on Apple silicon},
  url = {https://github.com/ml-explore},
  version = {0.0},
  year = {2023},
}