Instructions to use Ro551/opus-mt-es-en-GEC-spanish-LORA-cowsl2h with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ro551/opus-mt-es-en-GEC-spanish-LORA-cowsl2h 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-cowsl2h") - Transformers
How to use Ro551/opus-mt-es-en-GEC-spanish-LORA-cowsl2h with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ro551/opus-mt-es-en-GEC-spanish-LORA-cowsl2h", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
24dfbbd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e236ee6d866b635c0142114f8647f39831f9d92534aa2aad75c942f6a78ad0e3
size 825924
|