amu870 commited on
Commit
c3335d4
·
verified ·
1 Parent(s): 24f5f61

Upload LoRA adapter (README written by author)

Browse files
Files changed (3) hide show
  1. README.md +3 -7
  2. adapter_config.json +5 -5
  3. adapter_model.safetensors +1 -1
README.md CHANGED
@@ -13,11 +13,7 @@ tags:
13
  - structured-output
14
  ---
15
 
16
- # test-v0-bf16
17
-
18
- This repository provides a fine-tuned model for the competition in matsuo-lab LLM lecture 2025.
19
-
20
- The model of this repo is trained with BF16 LoRA. Training configuration is the same as the distributed code.
21
 
22
  This repository provides a **LoRA adapter** fine-tuned from
23
  **Qwen/Qwen3-4B-Instruct-2507** using **QLoRA (4-bit, Unsloth)**.
@@ -39,7 +35,7 @@ while intermediate reasoning (Chain-of-Thought) is masked.
39
  - Method: QLoRA (4-bit)
40
  - Max sequence length: 512
41
  - Epochs: 1
42
- - Learning rate: 1e-06
43
  - LoRA: r=64, alpha=128
44
 
45
  ## Usage
@@ -50,7 +46,7 @@ from peft import PeftModel
50
  import torch
51
 
52
  base = "Qwen/Qwen3-4B-Instruct-2507"
53
- adapter = "your_id/your-repo"
54
 
55
  tokenizer = AutoTokenizer.from_pretrained(base)
56
  model = AutoModelForCausalLM.from_pretrained(
 
13
  - structured-output
14
  ---
15
 
16
+ # test-v1
 
 
 
 
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-05
39
  - LoRA: r=64, alpha=128
40
 
41
  ## Usage
 
46
  import torch
47
 
48
  base = "Qwen/Qwen3-4B-Instruct-2507"
49
+ adapter = "amu870/test-v1"
50
 
51
  tokenizer = AutoTokenizer.from_pretrained(base)
52
  model = AutoModelForCausalLM.from_pretrained(
adapter_config.json CHANGED
@@ -33,13 +33,13 @@
33
  "rank_pattern": {},
34
  "revision": null,
35
  "target_modules": [
36
- "down_proj",
37
- "gate_proj",
38
  "q_proj",
39
- "k_proj",
40
- "up_proj",
41
  "v_proj",
42
- "o_proj"
 
 
 
 
43
  ],
44
  "target_parameters": null,
45
  "task_type": "CAUSAL_LM",
 
33
  "rank_pattern": {},
34
  "revision": null,
35
  "target_modules": [
 
 
36
  "q_proj",
 
 
37
  "v_proj",
38
+ "down_proj",
39
+ "k_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:3ca6921351d4d50235aa25570855384cf3090ee27427f8a545bbe99ace40cd89
3
  size 528550256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:845894e012cd035e2f326f438c238d734fe713d24619cc99f522c27d30d1b08b
3
  size 528550256