mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-07-12 12:41:12 +08:00
![]() * Add colorized output option to generate script Two new functions were added to the script that allow output to be colorized based on the T[0] probability. Changes were made to the `generate_step` function in utils.py to permit colorization. Additionally, an argument for colorization was introduced to the command-line parser. * Rename 'colorize' parameter with 'return_probability' in generate_step |
||
---|---|---|
.. | ||
models | ||
__init__.py | ||
convert.py | ||
generate.py | ||
README.md | ||
requirements.txt | ||
UPLOAD.md | ||
utils.py |