Files
mlx-swift-examples/Libraries/LLM
David Koski bb7bacc077 fix for #2 -- CodeLlama crashes
- add replacement tokenizer class for unknown tokenizers
- fix quantization for models that don't have lm_head quantized

Requires https://github.com/ml-explore/mlx-swift/pull/28
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 10:38:05 -08:00
2024-02-22 10:41:02 -08:00
2024-02-26 10:38:05 -08:00
2024-02-26 10:38:05 -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