Instructions to use benitoals/mt5-lora-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use benitoals/mt5-lora-hf with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-small") model = PeftModel.from_pretrained(base_model, "benitoals/mt5-lora-hf") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
a32c1a5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:90ed658667887a6a72b5f071e2e34bd3d9c562683f9c71a2f9c7c1c414e6c5bc
size 16350026
|