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