mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-10-23 14:08:07 +08:00
9c7e996ff01593e0cfd502f682054da3eca51bd8

Update BERT to take advantage of bias param in MultiHeadAttention
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:
- Transformer language model training.
- Large scale text generation with LLaMA or Mistral.
- Mixture-of-experts (MoE) language model with Mixtral 8x7B
- Parameter efficient fine-tuning with LoRA.
- Generating images with Stable Diffusion.
- Speech recognition with OpenAI's Whisper.
- Bidirectional language understanding with BERT
- Semi-supervised learning on graph-structured data with GCN.
Contributing
Check out the contribution guidelines for more information on contributing to this repo.
Languages
Python
83.5%
Jupyter Notebook
16.1%
Swift
0.4%