How to use devanshamin/Qwen2-1.5B-Instruct-Function-Calling-v1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-1.5B-Instruct") model = PeftModel.from_pretrained(base_model, "devanshamin/Qwen2-1.5B-Instruct-Function-Calling-v1")
The community tab is the place to discuss and collaborate with the HF community!