Models GEC spanish
Collection
24 items • Updated
How to use Ro551/opus-mt-es-en-GEC-spanish-LORA-synthetic with PEFT:
from peft import PeftModel
from transformers import AutoModelForSeq2SeqLM
base_model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-es-en")
model = PeftModel.from_pretrained(base_model, "Ro551/opus-mt-es-en-GEC-spanish-LORA-synthetic")How to use Ro551/opus-mt-es-en-GEC-spanish-LORA-synthetic with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Ro551/opus-mt-es-en-GEC-spanish-LORA-synthetic", 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.2388 | 1.0 | 10826 | 0.0750 | 0.8369 |
| 0.1493 | 2.0 | 21652 | 0.0495 | 0.8812 |
Base model
Helsinki-NLP/opus-mt-es-en