Translation
Transformers
Safetensors
Ewe
Spanish
marian
text2text-generation
candle
opus-mt
malinali
Instructions to use malinali-app/opus-mt-ee-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use malinali-app/opus-mt-ee-es 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="malinali-app/opus-mt-ee-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("malinali-app/opus-mt-ee-es") model = AutoModelForSeq2SeqLM.from_pretrained("malinali-app/opus-mt-ee-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- ee
|
| 4 |
+
- es
|
| 5 |
+
tags:
|
| 6 |
+
- translation
|
| 7 |
+
- marian
|
| 8 |
+
- candle
|
| 9 |
+
- opus-mt
|
| 10 |
+
- malinali
|
| 11 |
+
library_name: transformers
|
| 12 |
+
pipeline_tag: translation
|
| 13 |
+
base_model: Helsinki-NLP/opus-mt-ee-es
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# ee → es Marian / Candle (Malinali)
|
| 17 |
+
|
| 18 |
+
Public on-device pack for [Malinali](https://malinali.app): Helsinki-NLP OPUS-MT
|
| 19 |
+
weights in safetensors form plus fast tokenizers for Candle (`marian_flutter`).
|
| 20 |
+
|
| 21 |
+
## Upstream credit
|
| 22 |
+
|
| 23 |
+
- Base model: [`Helsinki-NLP/opus-mt-ee-es`](https://huggingface.co/Helsinki-NLP/opus-mt-ee-es)
|
| 24 |
+
- Project: [Helsinki-NLP / OPUS-MT](https://github.com/Helsinki-NLP/Opus-MT)
|
| 25 |
+
- License: follow the upstream model card (typically CC-BY 4.0 for OPUS-MT)
|
| 26 |
+
|
| 27 |
+
Malinali only repackages weights + converts SentencePiece → Hugging Face fast
|
| 28 |
+
tokenizer JSON for on-device inference. We do not claim ownership of the
|
| 29 |
+
trained model.
|
| 30 |
+
|
| 31 |
+
## Files (required)
|
| 32 |
+
|
| 33 |
+
| File | Role |
|
| 34 |
+
|------|------|
|
| 35 |
+
| `config.json` | Marian config |
|
| 36 |
+
| `model.safetensors` | Weights |
|
| 37 |
+
| `tokenizer-enc.json` | Source fast tokenizer |
|
| 38 |
+
| `tokenizer-dec.json` | Target fast tokenizer |
|
| 39 |
+
|
| 40 |
+
Direction: **ee → es**.
|