Downloads · 30 days
19
4% of all-time downloads
mlx-community/TowerInstruct-v0.1-bfloat16-mlx
TowerInstruct-v0.1-bfloat16-mlx is a translation model from mlx-community. Use it when you need text moved from one language to another. It is set up for mlx. The card lists the license as cc-by-nc-4.0.
This model was converted to MLX format from Unbabel/TowerInstruct-v0.1. Refer to the original model card for more details on the model.
Downloads · 30 days
19
4% of all-time downloads
All-time downloads
442
Public
Repo size
13.5 GB
Likes
2
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
This model was converted to MLX format from Unbabel/TowerInstruct-v0.1.
Refer to the original model card for more details on the model.
The model was initially fine-tuned on a filtered and preprocessed supervised fine-tuning dataset (TowerBlocks), which contains a diverse range of data sources:
You can find the dataset and all data sources of TowerBlocks here.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/TowerInstruct-v0.1-bfloat16-mlx")
prompt="Translate the following text from Portuguese into French.\nPortuguese: Um grupo de investigadores lançou um novo modelo para tarefas relacionadas com tradução.\nFrench:"
response = generate(model, tokenizer, prompt=prompt, verbose=True)
# Un groupe d'investigateurs a lancé un nouveau modèle pour les tâches liées à la traduction.