Ashraful Islam a7b2b54f18 LLMEval UI Improvements (#27)
* Feat: LLMEval UI Improvements

1. adds Markdown rendering in the UI
2. Adds init time and token/second stat
3. Minor UI enhancements

* feat: adds a copy to clipboard button for llm outputs

* adds scrollviewreader to sync with main

* ran pre-format to resolve formatting issues

* updates the missing dependency in project definition

* feat: switch between plain text and markdown

adds a segemented picker to switch between plain text and markdown
2024-03-18 09:15:50 -07:00
2024-03-18 09:07:52 -07:00
2024-03-18 09:07:52 -07: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%