Files
mlx-swift-examples/Libraries/LLM
David Koski c86d1c195e partial fix for #1
- handle loading models with different names for the safetensors files (gemma)
- handle merge tokens that can't be split
- organize code into Load/Evaluate
2024-02-26 13:23:21 -08:00
..
2024-02-22 10:41:02 -08:00
2024-02-26 13:23:21 -08:00
2024-02-26 10:38:05 -08:00
2024-02-26 10:38:05 -08:00
2024-02-22 10:41:02 -08:00
2024-02-26 10:38:05 -08:00
2024-02-26 13:23:21 -08:00
2024-02-26 10:38:05 -08:00

Llama

This is a port of several models from:

You can use this to load models from huggingface, e.g.:

Currently supported model types are:

  • Llama / Mistral
  • Gemma
  • Phi

See Configuration.swift for more info.

See llm-tool