saeoshi commited on
Commit
65f2bee
·
verified ·
1 Parent(s): 671183f

Upload LoRA adapter (README written by author)

Browse files
Files changed (3) hide show
  1. README.md +3 -3
  2. adapter_config.json +6 -6
  3. adapter_model.safetensors +2 -2
README.md CHANGED
@@ -35,8 +35,8 @@ while intermediate reasoning (Chain-of-Thought) is masked.
35
  - Method: QLoRA (4-bit)
36
  - Max sequence length: 2048
37
  - Epochs: 1
38
- - Learning rate: 1e-06
39
- - LoRA: r=64, alpha=128
40
 
41
  ## Usage
42
 
@@ -46,7 +46,7 @@ from peft import PeftModel
46
  import torch
47
 
48
  base = "Qwen/Qwen3-4B-Instruct-2507"
49
- adapter = "your_id/your-repo"
50
 
51
  tokenizer = AutoTokenizer.from_pretrained(base)
52
  model = AutoModelForCausalLM.from_pretrained(
 
35
  - Method: QLoRA (4-bit)
36
  - Max sequence length: 2048
37
  - Epochs: 1
38
+ - Learning rate: 2e-05
39
+ - LoRA: r=128, alpha=128
40
 
41
  ## Usage
42
 
 
46
  import torch
47
 
48
  base = "Qwen/Qwen3-4B-Instruct-2507"
49
+ adapter = "saeoshi/m_tune_model3"
50
 
51
  tokenizer = AutoTokenizer.from_pretrained(base)
52
  model = AutoModelForCausalLM.from_pretrained(
adapter_config.json CHANGED
@@ -22,24 +22,24 @@
22
  "loftq_config": {},
23
  "lora_alpha": 128,
24
  "lora_bias": false,
25
- "lora_dropout": 0.0,
26
  "megatron_config": null,
27
  "megatron_core": "megatron.core",
28
  "modules_to_save": null,
29
  "peft_type": "LORA",
30
  "peft_version": "0.18.1",
31
  "qalora_group_size": 16,
32
- "r": 64,
33
  "rank_pattern": {},
34
  "revision": null,
35
  "target_modules": [
36
- "up_proj",
37
  "v_proj",
38
- "gate_proj",
39
  "o_proj",
40
- "k_proj",
41
  "down_proj",
42
- "q_proj"
 
 
43
  ],
44
  "target_parameters": null,
45
  "task_type": "CAUSAL_LM",
 
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,
29
  "peft_type": "LORA",
30
  "peft_version": "0.18.1",
31
  "qalora_group_size": 16,
32
+ "r": 128,
33
  "rank_pattern": {},
34
  "revision": null,
35
  "target_modules": [
 
36
  "v_proj",
37
+ "up_proj",
38
  "o_proj",
 
39
  "down_proj",
40
+ "q_proj",
41
+ "k_proj",
42
+ "gate_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:2a080bba910615cc8d95b7bc21e9c8867b82e9c39cb6382738dff2567689efaa
3
- size 528550256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93622922fb440b349d72395b05c72e3fbaacf860545f428cc9691aa274f7ec23
3
+ size 1057033224