Instructions to use vkrishnan569/gemma-law-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vkrishnan569/gemma-law-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2b-it-bnb-4bit") model = PeftModel.from_pretrained(base_model, "vkrishnan569/gemma-law-lora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K