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
Librarian Bot: Add base_model information to model
#4
by librarian-bot - opened
README.md
CHANGED
|
@@ -12,6 +12,7 @@ metrics:
|
|
| 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: []
|
|
|
|
| 12 |
widget:
|
| 13 |
- text: toki! mi jan Ton. mi lon ma Tawan.
|
| 14 |
- text: soweli li toki ala toki e toki Inli?
|
| 15 |
+
base_model: Helsinki-NLP/opus-mt-ROMANCE-en
|
| 16 |
model-index:
|
| 17 |
- name: toki-en-mt
|
| 18 |
results: []
|