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
Librarian Bot: Add base_model information to model
#3
by librarian-bot - opened
README.md
CHANGED
|
@@ -10,6 +10,7 @@ tags:
|
|
| 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: []
|
|
|
|
| 10 |
widget:
|
| 11 |
- text: Hello, my name is Tom.
|
| 12 |
- text: Can the cat speak English?
|
| 13 |
+
base_model: Helsinki-NLP/opus-mt-en-ROMANCE
|
| 14 |
model-index:
|
| 15 |
- name: en-toki-mt
|
| 16 |
results: []
|