madlad400-finetuned-ncj-spa

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

Model details

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

Datasets

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

Northern Puebla Nahuatl:

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

Spanish:

  • © 1979, Wycliffe Bible Translators, Inc. All rights reserved. Used with permission.
  • License: Public Domain

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-ncj-spa")
model = AutoModelForSeq2SeqLM.from_pretrained("sil-ai/madlad400-finetuned-ncj-spa")

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