Skip to content

alfianlosari/mlx-swift-examples

 
 

Repository files navigation

mlx-examples-swift

Example mlx-swift programs.

MLXChat macOS SwiftUI App

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.

LinearModelTraining

A simple linear model and a training loop.

llm-tool

A command line tool for generating text using a Llama / Mistral model:

mnist-tool

A command line tool for training an MNIST (MLP) model:

About

Fork of Apple MLX swift example with addition of macOS SwiftUI App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 95.9%
  • Objective-C++ 3.1%
  • Other 1.0%