mlx-examples/llms/mlx_lm
someone 2287294723
fix mlx_lm generator for chinese (#321)
* fix generator for chinese

* add REPLACEMENT_CHAR

---------

Co-authored-by: cg <cg@qq.com>
2024-01-16 07:13:33 -08:00
..
models feat(mlx_lm): add mixtral support in mlx_lm (#318) 2024-01-15 07:18:14 -08:00
__init__.py Mlx llm package (#301) 2024-01-12 10:25:56 -08:00
convert.py feat(mlx_lm): add mixtral support in mlx_lm (#318) 2024-01-15 07:18:14 -08:00
generate.py Mlx llm package (#301) 2024-01-12 10:25:56 -08:00
README.md Mlx llm package (#301) 2024-01-12 10:25:56 -08:00
requirements.txt Mlx llm package (#301) 2024-01-12 10:25:56 -08:00
UPLOAD.md Mlx llm package (#301) 2024-01-12 10:25:56 -08:00
utils.py fix mlx_lm generator for chinese (#321) 2024-01-16 07:13:33 -08: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.