somosnlp-hackathon-2022/neutral-es
Viewer • Updated • 3.61k • 53 • 7
How to use Jeanievas/mbart-neutralization with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Jeanievas/mbart-neutralization")
model = AutoModelForSeq2SeqLM.from_pretrained("Jeanievas/mbart-neutralization")This model is a fine-tuned version of facebook/mbart-large-50 on Spanish Gender Neutralization dataset. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|---|---|---|---|---|---|
| No log | 1.0 | 440 | 0.0160 | 98.0024 | 18.5417 |
| 0.2198 | 2.0 | 880 | 0.0104 | 98.9269 | 18.5 |
Base model
facebook/mbart-large-50