devops-thiago commited on
Commit
eabb631
·
verified ·
1 Parent(s): 68544a1

Upload LoRA backbone adapters

Browse files
Files changed (1) hide show
  1. lora_backbone/README.md +46 -46
lora_backbone/README.md CHANGED
@@ -1,46 +1,46 @@
1
- ---
2
- base_model: google/gemma-4-E2B-it
3
- library_name: peft
4
- tags:
5
- - base_model:adapter:google/gemma-4-E2B-it
6
- - lora
7
- - peft
8
- - classone
9
- - decision-model
10
- ---
11
-
12
- # LoRA Adapter — classone-gemma4-e2b
13
-
14
- PEFT LoRA adapter for **[devops-thiago/classone-gemma4-e2b](https://huggingface.co/devops-thiago/classone-gemma4-e2b)**, the ClassOne System 1 decision model built on [`google/gemma-4-E2B-it`](https://huggingface.co/google/gemma-4-E2B-it).
15
-
16
- This subfolder holds only the low-rank adapter weights. The merged standalone weights live at the repository root, and the Noul / Choice / Score decision heads live in `classone_heads.pt` — load the heads alongside whichever backbone form you use.
17
-
18
- ## Adapter Configuration
19
-
20
- | Setting | Value |
21
- |---|---|
22
- | Base model | `google/gemma-4-E2B-it` |
23
- | PEFT type | LORA |
24
- | Rank (r) | 16 |
25
- | `lora_alpha` | 32 |
26
- | `lora_dropout` | 0.05 |
27
- | Bias | none |
28
- | Target modules | `.*language_model.*(q_proj\|o_proj\|gate_proj\|up_proj\|down_proj).*` |
29
- | PEFT version | 0.21.0 |
30
-
31
- ## Usage
32
-
33
- ```python
34
- from peft import PeftModel
35
- from transformers import AutoModel
36
-
37
- base = AutoModel.from_pretrained("google/gemma-4-E2B-it")
38
- model = PeftModel.from_pretrained(base, "devops-thiago/classone-gemma4-e2b", subfolder="lora_backbone")
39
- ```
40
-
41
- For end-to-end decision inference (packing questions, calibrated outputs), see the [model card](https://huggingface.co/devops-thiago/classone-gemma4-e2b).
42
-
43
- ## Attribution & Legal
44
-
45
- - Base model: [google/gemma-4-E2B-it](https://huggingface.co/google/gemma-4-E2B-it) (Google) — Apache License 2.0
46
- - Architecture: [devops-thiago/class-one](https://github.com/devops-thiago/class-one) — Apache 2.0
 
1
+ ---
2
+ base_model: google/gemma-4-E2B-it
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:google/gemma-4-E2B-it
6
+ - lora
7
+ - peft
8
+ - classone
9
+ - decision-model
10
+ ---
11
+
12
+ # LoRA Adapter — classone-gemma4-e2b
13
+
14
+ PEFT LoRA adapter for **[devops-thiago/classone-gemma4-e2b](https://huggingface.co/devops-thiago/classone-gemma4-e2b)**, the ClassOne System 1 decision model built on [`google/gemma-4-E2B-it`](https://huggingface.co/google/gemma-4-E2B-it).
15
+
16
+ This subfolder holds only the low-rank adapter weights. The merged standalone weights live at the repository root, and the Noul / Choice / Score decision heads live in `classone_heads.pt` — load the heads alongside whichever backbone form you use.
17
+
18
+ ## Adapter Configuration
19
+
20
+ | Setting | Value |
21
+ |---|---|
22
+ | Base model | `google/gemma-4-E2B-it` |
23
+ | PEFT type | LORA |
24
+ | Rank (r) | 16 |
25
+ | `lora_alpha` | 32 |
26
+ | `lora_dropout` | 0.05 |
27
+ | Bias | none |
28
+ | Target modules | `.*language_model.*(q_proj\|o_proj\|gate_proj\|up_proj\|down_proj).*` |
29
+ | PEFT version | 0.21.0 |
30
+
31
+ ## Usage
32
+
33
+ ```python
34
+ from peft import PeftModel
35
+ from transformers import AutoModel
36
+
37
+ base = AutoModel.from_pretrained("google/gemma-4-E2B-it")
38
+ model = PeftModel.from_pretrained(base, "devops-thiago/classone-gemma4-e2b", subfolder="lora_backbone")
39
+ ```
40
+
41
+ For end-to-end decision inference (packing questions, calibrated outputs), see the [model card](https://huggingface.co/devops-thiago/classone-gemma4-e2b).
42
+
43
+ ## Attribution & Legal
44
+
45
+ - Base model: [google/gemma-4-E2B-it](https://huggingface.co/google/gemma-4-E2B-it) (Google) — Apache License 2.0
46
+ - Architecture: [devops-thiago/class-one](https://github.com/devops-thiago/class-one) — Apache 2.0