Upload folder using huggingface_hub acca882 verified
AI Anytime commited on
How to use ai-anytime/Gemma7b-SFT with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-7b-bnb-4bit")
model = PeftModel.from_pretrained(base_model, "ai-anytime/Gemma7b-SFT")