How to use TinyPixel/qlora-2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("h2oai/h2o-danube-1.8b-base") model = PeftModel.from_pretrained(base_model, "TinyPixel/qlora-2")
The community tab is the place to discuss and collaborate with the HF community!