Instructions to use nekoooooneko/mymodel2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use nekoooooneko/mymodel2 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, "nekoooooneko/mymodel2") - Notebooks
- Google Colab
- Kaggle
Upload LoRA adapter (README written by author)
Browse files- README.md +5 -4
- adapter_config.json +6 -6
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 3 |
datasets:
|
| 4 |
- u-10bei/structured_data_with_cot_dataset_512_v5
|
|
|
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
license: apache-2.0
|
|
@@ -33,10 +34,10 @@ while intermediate reasoning (Chain-of-Thought) is masked.
|
|
| 33 |
|
| 34 |
- Base model: Qwen/Qwen3-4B-Instruct-2507
|
| 35 |
- Method: QLoRA (4-bit)
|
| 36 |
-
- Max sequence length:
|
| 37 |
- Epochs: 1
|
| 38 |
-
- Learning rate:
|
| 39 |
-
- LoRA: r=64, alpha=
|
| 40 |
|
| 41 |
## Usage
|
| 42 |
|
|
@@ -59,7 +60,7 @@ model = PeftModel.from_pretrained(model, adapter)
|
|
| 59 |
|
| 60 |
## Sources & Terms (IMPORTANT)
|
| 61 |
|
| 62 |
-
Training data: u-10bei/structured_data_with_cot_dataset_512_v5
|
| 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.
|
|
|
|
| 2 |
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 3 |
datasets:
|
| 4 |
- u-10bei/structured_data_with_cot_dataset_512_v5
|
| 5 |
+
- daichira/structured-hard-sft-4k
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
license: apache-2.0
|
|
|
|
| 34 |
|
| 35 |
- Base model: Qwen/Qwen3-4B-Instruct-2507
|
| 36 |
- Method: QLoRA (4-bit)
|
| 37 |
+
- Max sequence length: 768
|
| 38 |
- Epochs: 1
|
| 39 |
+
- Learning rate: 2e-05
|
| 40 |
+
- LoRA: r=64, alpha=32
|
| 41 |
|
| 42 |
## Usage
|
| 43 |
|
|
|
|
| 60 |
|
| 61 |
## Sources & Terms (IMPORTANT)
|
| 62 |
|
| 63 |
+
Training data: u-10bei/structured_data_with_cot_dataset_512_v5, daichira/structured-hard-sft-4k
|
| 64 |
|
| 65 |
Dataset License: MIT License. This dataset is used and distributed under the terms of the MIT License.
|
| 66 |
Compliance: Users must comply with the MIT license (including copyright notice) and the base model's original terms of use.
|
adapter_config.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
| 22 |
"loftq_config": {},
|
| 23 |
-
"lora_alpha":
|
| 24 |
"lora_bias": false,
|
| 25 |
"lora_dropout": 0.0,
|
| 26 |
"megatron_config": null,
|
|
@@ -33,13 +33,13 @@
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
-
"
|
| 37 |
-
"gate_proj",
|
| 38 |
"down_proj",
|
| 39 |
"k_proj",
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
"
|
|
|
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
| 22 |
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 32,
|
| 24 |
"lora_bias": false,
|
| 25 |
"lora_dropout": 0.0,
|
| 26 |
"megatron_config": null,
|
|
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
+
"q_proj",
|
|
|
|
| 37 |
"down_proj",
|
| 38 |
"k_proj",
|
| 39 |
+
"v_proj",
|
| 40 |
+
"o_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:7d443f7a8f746b513b74d6349786c51a7f8eae744bba1b3788c295958c9e4f98
|
| 3 |
size 528550256
|