MaroneAI/French-Wolof_Translation-Dataset
Viewer • Updated • 30k • 34 • 2
How to use MaroneAI/nllb-French-to-Wolof-615M 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="MaroneAI/nllb-French-to-Wolof-615M") # Load model directly
from transformers import AutoTokenizer, AutoModelForMultimodalLM
tokenizer = AutoTokenizer.from_pretrained("MaroneAI/nllb-French-to-Wolof-615M")
model = AutoModelForMultimodalLM.from_pretrained("MaroneAI/nllb-French-to-Wolof-615M")Ce modèle est un modèle Seq2Seq basé sur facebook/nllb-200-distilled-600M finement entraîné pour traduire du français vers le wolof. Il a été entraîné sur un petit dataset personnalisé pour les besoins de traduction rapide et légère.
fra_Latn) → Wolof (wol_Latn)facebook/nllb-200-distilled-600Mpip install transformers
Base model
facebook/nllb-200-distilled-600M