Instructions to use Ro551/mbart-large-50-GEC-spanish-LORA-cowsl2h with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ro551/mbart-large-50-GEC-spanish-LORA-cowsl2h with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/mbart-large-50") model = PeftModel.from_pretrained(base_model, "Ro551/mbart-large-50-GEC-spanish-LORA-cowsl2h") - Transformers
How to use Ro551/mbart-large-50-GEC-spanish-LORA-cowsl2h with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ro551/mbart-large-50-GEC-spanish-LORA-cowsl2h", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
fd89334 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7cf1f8136c3ebd8d6ec2ec8345a755a6a1ec68abc612a7fb22fd77df9605e152
size 5393
|