How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("Davlan/m2m100_418M-yor-eng-mt")
model = AutoModelForSeq2SeqLM.from_pretrained("Davlan/m2m100_418M-yor-eng-mt", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Hugging Face's logo

language: - yo - en datasets: - JW300 + Menyo-20k

m2m100_418M-eng-yor-mt

Model description

m2m100_418M-yor-eng-mt is a machine translation model from Yorùbá language to English language based on a fine-tuned facebook/m2m100_418M model. It establishes a strong baseline for automatically translating texts from Yorùbá to English.

Specifically, this model is a facebook/m2m100_418M model that was fine-tuned on JW300 Yorùbá corpus and Menyo-20k.

Limitations and bias

This model is limited by its training dataset. This may not generalize well for all use cases in different domains.

Training data

This model was fine-tuned on JW300 corpus and Menyo-20k dataset

Training procedure

This model was trained on NVIDIA V100 GPU

Eval results on Test set (BLEU score)

Fine-tuning m2m100_418M achieves 16.76 BLEU on Menyo-20k test set while mt5-base achieves 15.57

BibTeX entry and citation info

By David Adelani


Downloads last month
35
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for Davlan/m2m100_418M-yor-eng-mt