Models GEC spanish
Collection
29 items โข Updated
Run Ro551/m2m100_418M-GEC-spanish-LORA-cowsl2h on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/Ro551/m2m100_418M-GEC-spanish-LORA-cowsl2h. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/Ro551/m2m100_418M-GEC-spanish-LORA-cowsl2h on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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:
# pip install -U transformers accelerate
# 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