807c8136c0b15f669c654f7f49bae2352c75da77
MLX Swift Examples
Example mlx-swift programs.
MNISTTrainer
An example that runs on both iOS and macOS that downloads MNIST training data and trains an MNIST model.
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.
LinearModelTraining
A simple linear model and a training loop.
llm-tool
A command line tool for generating text using a variety of Hugging Face models:
mnist-tool
A command line tool for training an MNIST (MLP) model:
Description
Languages
Swift
97.6%
Python
1.9%
Shell
0.5%