Instructions to use devanshamin/Qwen2-1.5B-Instruct-Function-Calling-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
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") - Inference
File size: 135 Bytes
c06c3da | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:78fc03151c4eefb49bcc389e513a6c96107b36b6efcc23132286263635bc798c
size 1178224960
|