Files
mlx-examples/llms/mlx_lm
JosefAlbers fda41545a6 Su-RoPE(Rotary Position Embedding) for Phi-3 (#813)
* Su-RoPE

* nits

* Update su_rope.py

* Update su_rope.py

Per GPT4: "The error TypeError: 'type' object is not subscriptable is caused by using the type hint list[float] in a version of Python that does not support it. This syntax is only available in Python 3.9 and later."

* Ran isort

---------

Co-authored-by: Awni Hannun <awni@apple.com>
2024-06-11 06:20:04 -07:00
..
2024-06-02 16:33:20 -07:00
2024-05-21 15:58:08 -07:00
2024-05-31 12:54:14 -07:00
2024-01-23 08:44:37 -08:00
2024-05-31 12:54:14 -07:00
2024-04-11 13:18:23 -07:00
2024-05-08 08:18:13 -07:00
2024-01-12 10:25:56 -08:00
2024-06-02 06:38:42 -07:00

Generate Text with MLX and 🤗 Hugging Face

This an example of large language model text generation that can pull models from the Hugging Face Hub.

For more information on this example, see the README in the parent directory.

This package also supports fine tuning with LoRA or QLoRA. For more information see the LoRA documentation.