Instructions to use code-world/google-flan-t5-small-lora-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use code-world/google-flan-t5-small-lora-ft with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-small") model = PeftModel.from_pretrained(base_model, "code-world/google-flan-t5-small-lora-ft") - Transformers
How to use code-world/google-flan-t5-small-lora-ft with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("code-world/google-flan-t5-small-lora-ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
745a82b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e05ba337dc300eaef43d8d996a96e3721d94265241a83855a75b9460b67a8756
size 5841
|