Translation
Transformers
Safetensors
Spanish
English
Garifuna
m2m_100
text2text-generation
nllb
garifuna
indigenous-languages
multilingual
Instructions to use arnoldramo/garifuna-nllb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arnoldramo/garifuna-nllb 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="arnoldramo/garifuna-nllb")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("arnoldramo/garifuna-nllb") model = AutoModelForSeq2SeqLM.from_pretrained("arnoldramo/garifuna-nllb") - Notebooks
- Google Colab
- Kaggle
Garifuna-Spanish-English NLLB Translation
This is a fine-tuned version of Meta's NLLB-200 (600M) specialized for translation between Spanish, English, and Garifuna.
π Supported Languages
- Spanish (
spa_Latn) - English (
eng_Latn) - Garifuna (
cab_Latn)
π‘ Improvements in this Version
- Trilingual Support: Unlike the previous version, this model has been trained on a dataset that includes English pairings, allowing for broader translation capabilities.
π Quick Start (Python)
from transformers import pipeline
model_id = "your-username/your-repo-name"
translator = pipeline(
"translation",
model=model_id,
src_lang="eng_Latn", # Can also be "spa_Latn"
tgt_lang="cab_Latn"
)
# Example: English to Garifuna
print(translator("Hello"))
- Downloads last month
- 1
Model tree for arnoldramo/garifuna-nllb
Base model
facebook/nllb-200-distilled-600M