devops-thiago commited on
Commit
8d72b45
·
verified ·
1 Parent(s): 0aea49f

Add LoRA adapter card

Browse files
Files changed (1) hide show
  1. lora_backbone/README.md +31 -1
lora_backbone/README.md CHANGED
@@ -13,4 +13,34 @@ tags:
13
 
14
  PEFT LoRA adapter for **[devops-thiago/classone-gemma4-e4b](https://huggingface.co/devops-thiago/classone-gemma4-e4b)**, the ClassOne System 1 decision model built on [`google/gemma-4-E4B-it`](https://huggingface.co/google/gemma-4-E4B-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`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  PEFT LoRA adapter for **[devops-thiago/classone-gemma4-e4b](https://huggingface.co/devops-thiago/classone-gemma4-e4b)**, the ClassOne System 1 decision model built on [`google/gemma-4-E4B-it`](https://huggingface.co/google/gemma-4-E4B-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-E4B-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-E4B-it")
38
+ model = PeftModel.from_pretrained(base, "devops-thiago/classone-gemma4-e4b", 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-e4b).
42
+
43
+ ## Attribution & Legal
44
+
45
+ - Base model: [google/gemma-4-E4B-it](https://huggingface.co/google/gemma-4-E4B-it) (Google) — Apache License 2.0
46
+ - Architecture: [devops-thiago/class-one](https://github.com/devops-thiago/class-one) — Apache 2.0