LeNet on MNIST + readme update (#12)
* LeNet on MNIST + readme update * tanh + remove device toggle * remove device entirely
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# MNIST
|
||||
|
||||
This is a port of the MNIST model and training code from:
|
||||
|
||||
- https://github.com/ml-explore/mlx-examples/blob/main/mnist
|
||||
This is a port of the MNIST training code from the [Python MLX example](https://github.com/ml-explore/mlx-examples/blob/main/mnist). This example uses a [LeNet](https://en.wikipedia.org/wiki/LeNet) instead of an MLP.
|
||||
|
||||
It provides code to:
|
||||
|
||||
- download the test/train data
|
||||
- provides the MNIST model (MLP)
|
||||
- some functions to shuffle and batch the data
|
||||
- Download the MNIST test/train data
|
||||
- Build the LeNet
|
||||
- Some functions to shuffle and batch the data
|
||||
|
||||
See [mnist-tool](../../Tools/mnist-tool) for an example of how to run this. The training loop also lives there.
|
||||
See [mnist-tool](../../Tools/mnist-tool) for an example of how to run this. The training loop also lives there.
|
||||
|
||||
Reference in New Issue
Block a user