Models GEC spanish
Collection
24 items • Updated
How to use Ro551/m2m100_418M-GEC-spanish-LORA-synthetic 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-synthetic")How to use Ro551/m2m100_418M-GEC-spanish-LORA-synthetic with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Ro551/m2m100_418M-GEC-spanish-LORA-synthetic", 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 |
|---|---|---|---|---|
| 3.9485 | 1.0 | 6896 | 3.9114 | 0.9166 |
| 3.9632 | 2.0 | 13792 | 3.9074 | 0.9276 |
Base model
facebook/m2m100_418M
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-synthetic")