Instructions to use kentof/sft-qwen3-4b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kentof/sft-qwen3-4b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-4b-instruct-2507-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "kentof/sft-qwen3-4b-lora") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- .gitattributes +0 -2
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
.gitattributes
CHANGED
|
@@ -36,5 +36,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
checkpoint-222/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
checkpoint-1400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
-
checkpoint-1408/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
checkpoint-222/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
adapter_config.json
CHANGED
|
@@ -24,13 +24,13 @@
|
|
| 24 |
"rank_pattern": {},
|
| 25 |
"revision": null,
|
| 26 |
"target_modules": [
|
| 27 |
-
"
|
| 28 |
-
"k_proj",
|
| 29 |
-
"up_proj",
|
| 30 |
"down_proj",
|
| 31 |
"gate_proj",
|
| 32 |
-
"
|
| 33 |
-
"
|
|
|
|
|
|
|
| 34 |
],
|
| 35 |
"task_type": "CAUSAL_LM",
|
| 36 |
"use_dora": false,
|
|
|
|
| 24 |
"rank_pattern": {},
|
| 25 |
"revision": null,
|
| 26 |
"target_modules": [
|
| 27 |
+
"o_proj",
|
|
|
|
|
|
|
| 28 |
"down_proj",
|
| 29 |
"gate_proj",
|
| 30 |
+
"v_proj",
|
| 31 |
+
"q_proj",
|
| 32 |
+
"up_proj",
|
| 33 |
+
"k_proj"
|
| 34 |
],
|
| 35 |
"task_type": "CAUSAL_LM",
|
| 36 |
"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 528550256
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69e5c96c49ab57f8c0bc1a3906b42981984b3cbd8035c7c9c8c9182832407444
|
| 3 |
size 528550256
|