ykunitake commited on
Commit
a99859f
·
verified ·
1 Parent(s): e8f2b39

Upload LoRA adapter (README written by author)

Browse files
Files changed (3) hide show
  1. README.md +3 -3
  2. adapter_config.json +4 -4
  3. adapter_model.safetensors +1 -1
README.md CHANGED
@@ -34,8 +34,8 @@ while intermediate reasoning (Chain-of-Thought) is masked.
34
  - Base model: Qwen/Qwen3-4B-Instruct-2507
35
  - Method: QLoRA (4-bit)
36
  - Max sequence length: 512
37
- - Epochs: 1
38
- - Learning rate: 1e-06
39
  - LoRA: r=64, alpha=128
40
 
41
  ## Usage
@@ -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(
 
34
  - Base model: Qwen/Qwen3-4B-Instruct-2507
35
  - Method: QLoRA (4-bit)
36
  - Max sequence length: 512
37
+ - Epochs: 2
38
+ - Learning rate: 1e-04
39
  - LoRA: r=64, alpha=128
40
 
41
  ## Usage
 
46
  import torch
47
 
48
  base = "Qwen/Qwen3-4B-Instruct-2507"
49
+ adapter = "ykuniteke/self-test"
50
 
51
  tokenizer = AutoTokenizer.from_pretrained(base)
52
  model = AutoModelForCausalLM.from_pretrained(
adapter_config.json CHANGED
@@ -34,12 +34,12 @@
34
  "revision": null,
35
  "target_modules": [
36
  "q_proj",
37
- "v_proj",
38
- "down_proj",
39
- "k_proj",
40
  "o_proj",
41
  "up_proj",
42
- "gate_proj"
 
 
43
  ],
44
  "target_parameters": null,
45
  "task_type": "CAUSAL_LM",
 
34
  "revision": null,
35
  "target_modules": [
36
  "q_proj",
37
+ "gate_proj",
 
 
38
  "o_proj",
39
  "up_proj",
40
+ "v_proj",
41
+ "down_proj",
42
+ "k_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:261118305dfb95cb43af266e839475bbbba0a233973f59b85ac7f1b4458af4d7
3
  size 528550256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03c63f0559157a8376ecf7fa574a63c85444ed7a1a89d80eed4ca4f0138b0d2f
3
  size 528550256