ada-flo commited on
Commit
9dd1265
Β·
verified Β·
1 Parent(s): 8cd3d87

Update top-level README

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ tags:
5
+ - lora
6
+ - monkey-research
7
+ - arith_op
8
+ ---
9
+
10
+ # monkey-grpo-arith_op
11
+
12
+ GRPO outcome-RL LoRA adapters (one per rule Γ— init condition), trained on top of a CPT initialization.
13
+
14
+ From the project *Tell or Show: How Training-Data Format Shapes Implicit
15
+ vs. Explicit Rule Knowledge*.
16
+
17
+ ## Layout
18
+
19
+ Adapters are organized as `<base-model>/<rule>__from_<init>/`:
20
+
21
+ ```
22
+ .
23
+ └── qwen3-4b-instruct-2507/ # base = Qwen/Qwen3-4B-Instruct-2507
24
+ β”œβ”€β”€ max_plus_diff__from_fewshot/
25
+ β”œβ”€β”€ max_plus_diff__from_explicit/
26
+ β”œβ”€β”€ digit_product__from_fewshot/
27
+ └── ... (11 rules Γ— 2 inits = up to 22)
28
+ ```
29
+
30
+ Each leaf subdir is a self-contained PEFT-loadable adapter:
31
+ - `adapter_config.json`
32
+ - `adapter_model.safetensors`
33
+ - `README.md` (per-variant details)
34
+ - `trainer_state.json` (training-time metrics)
35
+
36
+ Future base models (Qwen3-7B etc.) will appear as sibling base-model dirs.
37
+
38
+ ## Loading
39
+
40
+ ```python
41
+ from peft import PeftModel
42
+ from transformers import AutoModelForCausalLM
43
+
44
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507", torch_dtype="bfloat16")
45
+ model = PeftModel.from_pretrained(base, "ada-flo/monkey-grpo-arith_op", subfolder="qwen3-4b-instruct-2507/max_plus_diff__from_fewshot")
46
+ ```