Translation
Transformers
PyTorch
Safetensors
Toki Pona
English
multilingual
marian
text2text-generation
Generated from Trainer
Instructions to use ckb/toki-en-mt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ckb/toki-en-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/toki-en-mt")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ckb/toki-en-mt") model = AutoModelForSeq2SeqLM.from_pretrained("ckb/toki-en-mt") - Notebooks
- Google Colab
- Kaggle
Add multilingual to the language tag
#1
by lbourdois - opened
README.md
CHANGED
|
@@ -1,19 +1,20 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- tok
|
| 5 |
- en
|
|
|
|
|
|
|
| 6 |
tags:
|
| 7 |
- generated_from_trainer
|
| 8 |
- translation
|
| 9 |
metrics:
|
| 10 |
- bleu
|
|
|
|
|
|
|
|
|
|
| 11 |
model-index:
|
| 12 |
- name: toki-en-mt
|
| 13 |
results: []
|
| 14 |
-
widget:
|
| 15 |
-
- text: "toki! mi jan Ton. mi lon ma Tawan."
|
| 16 |
-
- text: "soweli li toki ala toki e toki Inli?"
|
| 17 |
---
|
| 18 |
|
| 19 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- tok
|
| 4 |
- en
|
| 5 |
+
- multilingual
|
| 6 |
+
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
- generated_from_trainer
|
| 9 |
- translation
|
| 10 |
metrics:
|
| 11 |
- bleu
|
| 12 |
+
widget:
|
| 13 |
+
- text: toki! mi jan Ton. mi lon ma Tawan.
|
| 14 |
+
- text: soweli li toki ala toki e toki Inli?
|
| 15 |
model-index:
|
| 16 |
- name: toki-en-mt
|
| 17 |
results: []
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|