How to use rohitnagareddy/gemma-2b-python-expert-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b-it") model = PeftModel.from_pretrained(base_model, "rohitnagareddy/gemma-2b-python-expert-lora")
The community tab is the place to discuss and collaborate with the HF community!