ToluClassics / mlx-transformers

MLX Transformers is a library that provides model implementation in MLX. It uses a similar model interface as HuggingFace Transformers and provides a way to load and run models in Apple Silicon devices.
Apache License 2.0
47 stars 4 forks source link

Fix hard-coded language in `nllb_translation` example. #22

Closed fumoboy007 closed 1 month ago

fumoboy007 commented 1 month ago

Proposed changes

The target language was accidentally hard-coded to yor_Latn (Yoruba) instead of being customizable by the --target_language command-line option.

Types of changes