Instructions to use arpitamishra27/minitune-lora-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use arpitamishra27/minitune-lora-model 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, "arpitamishra27/minitune-lora-model") - Transformers
How to use arpitamishra27/minitune-lora-model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("arpitamishra27/minitune-lora-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K