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
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 22 |
This model is a fine-tuned version of [Qwen/Qwen2-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2-1.5B-Instruct) on [devanshamin/gem-viggo-function-calling](https://huggingface.co/datasets/devanshamin/gem-viggo-function-calling) dataset.
|
| 23 |
|
| 24 |
## Updated Chat Template
|
| 25 |
-
> Note: The template supports multiple tools but the model is fine-tuned on a dataset consisting of a single tool.
|
| 26 |
|
| 27 |
- The chat template has been added to the [tokenizer_config.json](https://huggingface.co/devanshamin/Qwen2-1.5B-Instruct-Function-Calling-v1/blob/7ee7c020cefdb0101939469de608acc2afa7809e/tokenizer_config.json#L34).
|
| 28 |
- Supports prompts with and without tools.
|
|
|
|
| 22 |
This model is a fine-tuned version of [Qwen/Qwen2-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2-1.5B-Instruct) on [devanshamin/gem-viggo-function-calling](https://huggingface.co/datasets/devanshamin/gem-viggo-function-calling) dataset.
|
| 23 |
|
| 24 |
## Updated Chat Template
|
| 25 |
+
> Note: The template supports multiple tools but the model is fine-tuned on a dataset consisting of examples with a single tool.
|
| 26 |
|
| 27 |
- The chat template has been added to the [tokenizer_config.json](https://huggingface.co/devanshamin/Qwen2-1.5B-Instruct-Function-Calling-v1/blob/7ee7c020cefdb0101939469de608acc2afa7809e/tokenizer_config.json#L34).
|
| 28 |
- Supports prompts with and without tools.
|