Files
mlx-examples/mnist
Awni Hannun 27c0a8c002 Add llms subdir + update README (#145)
* add llms subdir + update README

* nits

* use same pre-commit as mlx

* update readmes a bit

* format
2023-12-20 10:22:25 -08:00
..
2023-12-20 10:22:25 -08:00
2023-12-11 20:45:39 -06:00
2023-12-11 20:45:39 -06:00

MNIST

This example shows how to run some simple models on MNIST.

Install the dependencies:

pip install -r requirements.txt

Run the example with:

python main.py

By default the example runs on the CPU. To run on the GPU, use:

python main.py --gpu

To run the PyTorch or Jax examples install the respective framework.