Instructions to use svjack/Qwen2-1_5B_Function_Call_tiny_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use svjack/Qwen2-1_5B_Function_Call_tiny_lora 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, "svjack/Qwen2-1_5B_Function_Call_tiny_lora") - Notebooks
- Google Colab
- Kaggle