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") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "repetition_penalty": 1.1, | |
| "temperature": 0.7, | |
| "top_k": 20, | |
| "top_p": 0.8, | |
| "transformers_version": "4.41.2" | |
| } | |