Instructions to use benitoals/my-lora-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use benitoals/my-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/my-lora-hf") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
7c4ce20 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:edba1469b4370479a49418c971452c6c5aabf10dd36e7e8ef30c1f82744b3851
size 5496
|