Instructions to use Helsinki-NLP/opus-mt-itc-itc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-itc-itc 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="Helsinki-NLP/opus-mt-itc-itc")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-itc-itc") model = AutoModelForMultimodalLM.from_pretrained("Helsinki-NLP/opus-mt-itc-itc") - Notebooks
- Google Colab
- Kaggle
Add multilingual to the language tag
#1
by lbourdois - opened
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
| 3 |
- it
|
| 4 |
- ca
|
| 5 |
- rm
|
|
@@ -16,11 +16,10 @@ language:
|
|
| 16 |
- fr
|
| 17 |
- ht
|
| 18 |
- itc
|
| 19 |
-
|
|
|
|
| 20 |
tags:
|
| 21 |
- translation
|
| 22 |
-
|
| 23 |
-
license: apache-2.0
|
| 24 |
---
|
| 25 |
|
| 26 |
### itc-itc
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
- it
|
| 4 |
- ca
|
| 5 |
- rm
|
|
|
|
| 16 |
- fr
|
| 17 |
- ht
|
| 18 |
- itc
|
| 19 |
+
- multilingual
|
| 20 |
+
license: apache-2.0
|
| 21 |
tags:
|
| 22 |
- translation
|
|
|
|
|
|
|
| 23 |
---
|
| 24 |
|
| 25 |
### itc-itc
|