Models GEC spanish
Collection
24 items • Updated
How to use Ro551/m2m100_418M-GEC-spanish-LORA-cowsl2h with PEFT:
from peft import PeftModel
from transformers import AutoModelForSeq2SeqLM
base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/m2m100_418M")
model = PeftModel.from_pretrained(base_model, "Ro551/m2m100_418M-GEC-spanish-LORA-cowsl2h")How to use Ro551/m2m100_418M-GEC-spanish-LORA-cowsl2h with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Ro551/m2m100_418M-GEC-spanish-LORA-cowsl2h", device_map="auto")This model is a fine-tuned version of facebook/m2m100_418M 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 |
|---|---|---|---|---|
| 14.5713 | 1.0 | 194 | 6.0505 | 0.5815 |
| 12.1501 | 2.0 | 388 | 6.0441 | 0.6024 |
| 12.1355 | 3.0 | 582 | 6.0436 | 0.6056 |
| 12.1091 | 4.0 | 776 | 6.0424 | 0.6151 |
Base model
facebook/m2m100_418M