madlad400-finetuned-spa-ncj

This model is a fine-tuned version of jbochi/madlad400-3b-mt for translation from Spanish to Northern Puebla Nahuatl.

Model details

  • Developed by: SIL Global
  • Finetuned from model: jbochi/madlad400-3b-mt
  • Model type: Translation
  • Source language: Spanish (spa)
  • Target language: Northern Puebla Nahuatl (ncj)
  • License: closed/private

Datasets

The model was trained on a parallel corpus of plain text files:

Spanish:

  • Santa Biblia libre para el mundo
  • License: Public Domain

Northern Puebla Nahuatl:

  • Northern Puebla Nahuatl New Testament
  • License: © 1979, Wycliffe Bible Translators, Inc. All rights reserved. Used with permission.

Usage

You can use this model with the transformers library like this:

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("sil-ai/madlad400-finetuned-spa-ncj")
model = AutoModelForSeq2SeqLM.from_pretrained("sil-ai/madlad400-finetuned-spa-ncj")

inputs = tokenizer("Your input text here", return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0]))
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support