Translation
Transformers
Safetensors
Bambara
English
marian
text2text-generation
bambara-to-english
opus-mt
seq2seq
hf-aware
africa
low-resource
Instructions to use LocaleNLP/localenlp-bam-eng-0.03 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LocaleNLP/localenlp-bam-eng-0.03 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="LocaleNLP/localenlp-bam-eng-0.03")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("LocaleNLP/localenlp-bam-eng-0.03") model = AutoModelForSeq2SeqLM.from_pretrained("LocaleNLP/localenlp-bam-eng-0.03") - Notebooks
- Google Colab
- Kaggle
Wolof β English Translation Model (localenlp-bam-eng-0.03)
This model is a fine-tuned version of Helsinki-NLP/opus-mt-mul-en for translating Bambara (bam) to English (eng). It was trained on more than 50,000 parallel sentence pairs and achieves strong performance on held-out test sets.
Developed and maintained by LocaleNLP β advancing African language technologies.
- Downloads last month
- 4