Example mlx-swift programs.
A macOS SwiftUI Application for prompting LLM Model. The LLM Model text generation is run a different XPC Process so it won't affect UI performance of main App Process.
A simple linear model and a training loop.
A command line tool for generating text using a Llama / Mistral model:
A command line tool for training an MNIST (MLP) model: