Instructions to use kasperchux/MarianMTTranslator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kasperchux/MarianMTTranslator 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="kasperchux/MarianMTTranslator")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("kasperchux/MarianMTTranslator") model = AutoModelForSeq2SeqLM.from_pretrained("kasperchux/MarianMTTranslator") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,4 +8,12 @@ language:
|
|
| 8 |
metrics:
|
| 9 |
- accuracy
|
| 10 |
library_name: transformers
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
metrics:
|
| 9 |
- accuracy
|
| 10 |
library_name: transformers
|
| 11 |
+
tags:
|
| 12 |
+
- translation
|
| 13 |
+
---
|
| 14 |
+
# Model description
|
| 15 |
+
- **Developed by:** Kasperchux
|
| 16 |
+
- **Model type:** MarianMT
|
| 17 |
+
- **Language(s) (NLP):** EN, RU
|
| 18 |
+
- **License:** MIT
|
| 19 |
+
- **Finetuned from model [optional]:** MarianMT
|