Models GEC spanish
Collection
24 items • Updated
How to use Ro551/opus-mt-es-en-GEC-spanish-cowsl2h with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Ro551/opus-mt-es-en-GEC-spanish-cowsl2h")
model = AutoModelForSeq2SeqLM.from_pretrained("Ro551/opus-mt-es-en-GEC-spanish-cowsl2h", device_map="auto")This model is a fine-tuned version of Helsinki-NLP/opus-mt-es-en on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Gleu |
|---|---|---|---|---|
| 0.3908 | 1.0 | 388 | 0.1504 | 0.3852 |
| 0.2316 | 2.0 | 776 | 0.1253 | 0.4443 |
| 0.1546 | 3.0 | 1164 | 0.1192 | 0.4662 |
| 0.1141 | 4.0 | 1552 | 0.1180 | 0.4730 |
Base model
Helsinki-NLP/opus-mt-es-en
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Ro551/opus-mt-es-en-GEC-spanish-cowsl2h") model = AutoModelForSeq2SeqLM.from_pretrained("Ro551/opus-mt-es-en-GEC-spanish-cowsl2h", device_map="auto")