Upload LoRA adapter (README written by author)
Browse files- README.md +4 -4
- adapter_config.json +4 -4
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 3 |
datasets:
|
| 4 |
-
-
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
license: apache-2.0
|
|
@@ -13,7 +13,7 @@ tags:
|
|
| 13 |
- structured-output
|
| 14 |
---
|
| 15 |
|
| 16 |
-
qwen3-4b-structured-output-
|
| 17 |
|
| 18 |
This repository provides a **LoRA adapter** fine-tuned from
|
| 19 |
**Qwen/Qwen3-4B-Instruct-2507** using **QLoRA (4-bit, Unsloth)**.
|
|
@@ -35,7 +35,7 @@ while intermediate reasoning (Chain-of-Thought) is masked.
|
|
| 35 |
- Method: QLoRA (4-bit)
|
| 36 |
- Max sequence length: 512
|
| 37 |
- Epochs: 1
|
| 38 |
-
- Learning rate:
|
| 39 |
- LoRA: r=64, alpha=128
|
| 40 |
|
| 41 |
## Usage
|
|
@@ -59,7 +59,7 @@ model = PeftModel.from_pretrained(model, adapter)
|
|
| 59 |
|
| 60 |
## Sources & Terms (IMPORTANT)
|
| 61 |
|
| 62 |
-
Training data:
|
| 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.
|
|
|
|
| 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 |
+
qwen3-4b-structured-output-lora_ver003
|
| 17 |
|
| 18 |
This repository provides a **LoRA adapter** fine-tuned from
|
| 19 |
**Qwen/Qwen3-4B-Instruct-2507** using **QLoRA (4-bit, Unsloth)**.
|
|
|
|
| 35 |
- Method: QLoRA (4-bit)
|
| 36 |
- Max sequence length: 512
|
| 37 |
- Epochs: 1
|
| 38 |
+
- Learning rate: 5e-06
|
| 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
|
@@ -22,7 +22,7 @@
|
|
| 22 |
"loftq_config": {},
|
| 23 |
"lora_alpha": 128,
|
| 24 |
"lora_bias": false,
|
| 25 |
-
"lora_dropout": 0.
|
| 26 |
"megatron_config": null,
|
| 27 |
"megatron_core": "megatron.core",
|
| 28 |
"modules_to_save": null,
|
|
@@ -33,12 +33,12 @@
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
|
|
|
| 36 |
"down_proj",
|
| 37 |
-
"up_proj",
|
| 38 |
"q_proj",
|
| 39 |
"o_proj",
|
| 40 |
-
"
|
| 41 |
-
"k_proj",
|
| 42 |
"gate_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
|
|
|
| 22 |
"loftq_config": {},
|
| 23 |
"lora_alpha": 128,
|
| 24 |
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0.05,
|
| 26 |
"megatron_config": null,
|
| 27 |
"megatron_core": "megatron.core",
|
| 28 |
"modules_to_save": null,
|
|
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
+
"v_proj",
|
| 37 |
+
"k_proj",
|
| 38 |
"down_proj",
|
|
|
|
| 39 |
"q_proj",
|
| 40 |
"o_proj",
|
| 41 |
+
"up_proj",
|
|
|
|
| 42 |
"gate_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
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:a742c4599ce15888f90418f72e449e34af558b599e4bc065294e402b3435f54d
|
| 3 |
size 528550256
|