David Koski 0af2efe8a0 switch swift-tokenizers to main, remove some workarounds (#26)
* switch swift-tokenizers to main, remove some workarounds

- swift-tokenizers is getting a lot of updates and fixes, let's track main for now
- remove some workarounds that are no longer needed

- https://github.com/huggingface/swift-transformers/issues/63
2024-03-14 13:18:57 -07:00
2024-03-06 08:42:08 -08:00
2024-02-22 10:41:02 -08:00
2024-02-22 10:41:02 -08:00
2024-02-22 10:41:02 -08:00
2024-02-22 12:33:18 -08:00
2024-02-22 12:33:18 -08:00
2024-02-22 12:33:18 -08:00
2024-02-22 12:33:18 -08:00
2024-03-04 14:16:20 -08:00

MLX Swift Examples

Example MLX Swift programs.

  • MNISTTrainer: An example that runs on both iOS and macOS that downloads MNIST training data and trains a LeNet.

  • LLMEval: An example that runs on both iOS and macOS that downloads an LLM and tokenizer from Hugging Face and and generates text from a given prompt.

  • LinearModelTraining: An example that trains a simple linear model.

  • llm-tool: A command line tool for generating text using a variety of LLMs available on the Hugging Face hub.

  • mnist-tool: A command line tool for training a a LeNet on MNIST.

Description
No description provided
Readme 314 KiB
Languages
Swift 97.6%
Python 1.9%
Shell 0.5%