# MLX Swift Examples Example [mlx-swift](https://github.com/ml-explore/mlx-swift) programs. ## MNISTTrainer An example that runs on both iOS and macOS that downloads MNIST training data and trains an MNIST model. - [README](Applications/MNISTTrainer/README.md) ## LLMEval An example that runs on both iOS and macOS that downloads a LLM model weights and tokenizer configuration from Hugging Face and evaluates a prompt in-process. - [README](Applications/LLMEval/README.md) ## LinearModelTraining A simple linear model and a training loop. - [README](Tools/LinearModelTraining/README.md) ## llm-tool A command line tool for generating text using a variety of Hugging Face models: - [README](Tools/llm-tool/README.md) ## mnist-tool A command line tool for training an MNIST (MLP) model: - [README](Tools/mnist-tool/README.md)