Instructions to use Unbabel/TowerInstruct-Mistral-7B-v0.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Unbabel/TowerInstruct-Mistral-7B-v0.2 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="Unbabel/TowerInstruct-Mistral-7B-v0.2")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Unbabel/TowerInstruct-Mistral-7B-v0.2") model = AutoModelForCausalLM.from_pretrained("Unbabel/TowerInstruct-Mistral-7B-v0.2") - Notebooks
- Google Colab
- Kaggle
Update README.md
#10
by andre-martins - opened
README.md
CHANGED
|
@@ -26,7 +26,7 @@ The model is trained to handle several translation-related tasks, such as genera
|
|
| 26 |
|
| 27 |
This model has performance comparable to [TowerInstruct-13B-v0.2](https://huggingface.co/Unbabel/TowerInstruct-13B-v0.1), while being half the size. Check out our [paper in COLM 2024](https://openreview.net/pdf?id=EHPns3hVkj).
|
| 28 |
|
| 29 |
-
- **Developed by:** Unbabel, Instituto Superior Técnico, CentraleSupélec University of Paris-Saclay
|
| 30 |
- **Model type:** A 7B parameter model fine-tuned on a mix of publicly available, synthetic datasets on translation-related tasks, as well as conversational datasets and code instructions.
|
| 31 |
- **Language(s) (NLP):** English, Portuguese, Spanish, French, German, Dutch, Italian, Korean, Chinese, Russian
|
| 32 |
- **License:** CC-BY-NC-4.0
|
|
|
|
| 26 |
|
| 27 |
This model has performance comparable to [TowerInstruct-13B-v0.2](https://huggingface.co/Unbabel/TowerInstruct-13B-v0.1), while being half the size. Check out our [paper in COLM 2024](https://openreview.net/pdf?id=EHPns3hVkj).
|
| 28 |
|
| 29 |
+
- **Developed by:** Unbabel, Instituto de Telecomumicações, Instituto Superior Técnico, CentraleSupélec, University of Paris-Saclay
|
| 30 |
- **Model type:** A 7B parameter model fine-tuned on a mix of publicly available, synthetic datasets on translation-related tasks, as well as conversational datasets and code instructions.
|
| 31 |
- **Language(s) (NLP):** English, Portuguese, Spanish, French, German, Dutch, Italian, Korean, Chinese, Russian
|
| 32 |
- **License:** CC-BY-NC-4.0
|