Translation
Transformers
PyTorch
Safetensors
English
Toki Pona
multilingual
marian
text2text-generation
Generated from Trainer
Instructions to use ckb/en-toki-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ckb/en-toki-mt 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="ckb/en-toki-mt")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ckb/en-toki-mt") model = AutoModelForSeq2SeqLM.from_pretrained("ckb/en-toki-mt") - Notebooks
- Google Colab
- Kaggle
Add multilingual to the language tag
#1
by lbourdois - opened
README.md
CHANGED
|
@@ -1,17 +1,18 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
- tok
|
|
|
|
|
|
|
| 6 |
tags:
|
| 7 |
- generated_from_trainer
|
| 8 |
- translation
|
|
|
|
|
|
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: en-toki-mt
|
| 11 |
results: []
|
| 12 |
-
widget:
|
| 13 |
-
- text: "Hello, my name is Tom."
|
| 14 |
-
- text: "Can the cat speak English?"
|
| 15 |
---
|
| 16 |
|
| 17 |
# en-toki-mt
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
- tok
|
| 5 |
+
- multilingual
|
| 6 |
+
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
- generated_from_trainer
|
| 9 |
- translation
|
| 10 |
+
widget:
|
| 11 |
+
- text: Hello, my name is Tom.
|
| 12 |
+
- text: Can the cat speak English?
|
| 13 |
model-index:
|
| 14 |
- name: en-toki-mt
|
| 15 |
results: []
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# en-toki-mt
|