Instructions to use mlx-community/TowerInstruct-v0.1-bfloat16-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/TowerInstruct-v0.1-bfloat16-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/TowerInstruct-v0.1-bfloat16-mlx --local-dir TowerInstruct-v0.1-bfloat16-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,4 +33,5 @@ from mlx_lm import load, generate
|
|
| 33 |
model, tokenizer = load("mlx-community/TowerInstruct-v0.1-bfloat16-mlx")
|
| 34 |
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:"
|
| 35 |
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
|
|
|
| 36 |
```
|
|
|
|
| 33 |
model, tokenizer = load("mlx-community/TowerInstruct-v0.1-bfloat16-mlx")
|
| 34 |
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:"
|
| 35 |
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
| 36 |
+
# Un groupe d'investigateurs a lancé un nouveau modèle pour les tâches liées à la traduction.
|
| 37 |
```
|