Instructions to use debiao29/task-17-Qwen-Qwen2.5-1.5B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use debiao29/task-17-Qwen-Qwen2.5-1.5B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct") model = PeftModel.from_pretrained(base_model, "debiao29/task-17-Qwen-Qwen2.5-1.5B-Instruct") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -22,8 +22,8 @@
|
|
| 22 |
"target_modules": [
|
| 23 |
"v_proj",
|
| 24 |
"q_proj",
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
|
|
|
| 22 |
"target_modules": [
|
| 23 |
"v_proj",
|
| 24 |
"q_proj",
|
| 25 |
+
"k_proj",
|
| 26 |
+
"o_proj"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 139491064
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:845d53e24dc95f17fd209d9f1f24eb268793755b3638104943150fe51236a0d6
|
| 3 |
size 139491064
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c6cef9b4b962c8966a28fcb0fc04541e90ff11fe68186603dd0e0623a867865
|
| 3 |
size 5368
|