Upload LoRA adapter (README written by author)
Browse files- README.md +5 -7
- adapter_config.json +4 -4
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
---
|
| 2 |
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 3 |
datasets:
|
| 4 |
-
-
|
| 5 |
-
- daichira/structured-hard-sft-4k
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
license: apache-2.0
|
|
@@ -14,7 +13,6 @@ tags:
|
|
| 14 |
- structured-output
|
| 15 |
---
|
| 16 |
|
| 17 |
-
|
| 18 |
<Standard SFT Implementation for Improving Structured Output in Qwen3-4B>
|
| 19 |
|
| 20 |
This repository provides a **LoRA adapter** fine-tuned from
|
|
@@ -35,9 +33,9 @@ while intermediate reasoning (Chain-of-Thought) is masked.
|
|
| 35 |
|
| 36 |
- Base model: Qwen/Qwen3-4B-Instruct-2507
|
| 37 |
- Method: QLoRA (4-bit)
|
| 38 |
-
- Max sequence length:
|
| 39 |
-
- Epochs:
|
| 40 |
-
- Learning rate:
|
| 41 |
- LoRA: r=64, alpha=128
|
| 42 |
|
| 43 |
## Usage
|
|
@@ -61,7 +59,7 @@ model = PeftModel.from_pretrained(model, adapter)
|
|
| 61 |
|
| 62 |
## Sources & Terms (IMPORTANT)
|
| 63 |
|
| 64 |
-
Training data:
|
| 65 |
|
| 66 |
Dataset License: MIT License. This dataset is used and distributed under the terms of the MIT License.
|
| 67 |
Compliance: Users must comply with the MIT license (including copyright notice) and the base model's original terms of use.
|
|
|
|
| 1 |
---
|
| 2 |
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 3 |
datasets:
|
| 4 |
+
- daichira/structured-5k-mix-sft
|
|
|
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
license: apache-2.0
|
|
|
|
| 13 |
- structured-output
|
| 14 |
---
|
| 15 |
|
|
|
|
| 16 |
<Standard SFT Implementation for Improving Structured Output in Qwen3-4B>
|
| 17 |
|
| 18 |
This repository provides a **LoRA adapter** fine-tuned from
|
|
|
|
| 33 |
|
| 34 |
- Base model: Qwen/Qwen3-4B-Instruct-2507
|
| 35 |
- Method: QLoRA (4-bit)
|
| 36 |
+
- Max sequence length: 1024
|
| 37 |
+
- Epochs: 2
|
| 38 |
+
- Learning rate: 1e-05
|
| 39 |
- LoRA: r=64, alpha=128
|
| 40 |
|
| 41 |
## Usage
|
|
|
|
| 59 |
|
| 60 |
## Sources & Terms (IMPORTANT)
|
| 61 |
|
| 62 |
+
Training data: daichira/structured-5k-mix-sft
|
| 63 |
|
| 64 |
Dataset License: MIT License. This dataset is used and distributed under the terms of the MIT License.
|
| 65 |
Compliance: Users must comply with the MIT license (including copyright notice) and the base model's original terms of use.
|
adapter_config.json
CHANGED
|
@@ -34,12 +34,12 @@
|
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
"down_proj",
|
| 37 |
-
"gate_proj",
|
| 38 |
"q_proj",
|
| 39 |
-
"up_proj",
|
| 40 |
-
"k_proj",
|
| 41 |
"o_proj",
|
| 42 |
-
"v_proj"
|
|
|
|
|
|
|
|
|
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
"down_proj",
|
|
|
|
| 37 |
"q_proj",
|
|
|
|
|
|
|
| 38 |
"o_proj",
|
| 39 |
+
"v_proj",
|
| 40 |
+
"k_proj",
|
| 41 |
+
"gate_proj",
|
| 42 |
+
"up_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
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:91d57fba50d34504c4ba1594b907d44ad550cf0695d37924608521f329f45f5e
|
| 3 |
size 528550256
|