Helsinki-NLP/opus-100
Viewer • Updated • 55.1M • 28.8k • 235
How to use ehyxu/nmt-corrector-ur2en with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("ehyxu/nmt-corrector-ur2en")
model = AutoModelForSeq2SeqLM.from_pretrained("ehyxu/nmt-corrector-ur2en")The checkpoint is from Urdu translate to English model of the paper. More information pleace refer this repository.
pre-trained model: mbart-large-50
train dataset: opus-100