Add LoRA adapter card
Browse files- lora_backbone/README.md +7 -7
lora_backbone/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: google/gemma-4-
|
| 3 |
library_name: peft
|
| 4 |
tags:
|
| 5 |
-
- base_model:adapter:google/gemma-4-
|
| 6 |
- lora
|
| 7 |
- peft
|
| 8 |
- classone
|
|
@@ -11,15 +11,15 @@ tags:
|
|
| 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-
|
| 15 |
|
| 16 |
-
This subfolder holds only the low-rank adapter weights. The Noul / Choice / Score decision heads live in `classone_heads.pt`
|
| 17 |
|
| 18 |
## Adapter Configuration
|
| 19 |
|
| 20 |
| Setting | Value |
|
| 21 |
|---|---|
|
| 22 |
-
| Base model | `google/gemma-4-
|
| 23 |
| PEFT type | LORA |
|
| 24 |
| Rank (r) | 16 |
|
| 25 |
| `lora_alpha` | 32 |
|
|
@@ -34,7 +34,7 @@ This subfolder holds only the low-rank adapter weights. The Noul / Choice / Scor
|
|
| 34 |
from peft import PeftModel
|
| 35 |
from transformers import AutoModel
|
| 36 |
|
| 37 |
-
base = AutoModel.from_pretrained("google/gemma-4-
|
| 38 |
model = PeftModel.from_pretrained(base, "devops-thiago/classone-gemma4-e2b", subfolder="lora_backbone")
|
| 39 |
```
|
| 40 |
|
|
@@ -42,5 +42,5 @@ For end-to-end decision inference (packing questions, calibrated outputs), see t
|
|
| 42 |
|
| 43 |
## Attribution & Legal
|
| 44 |
|
| 45 |
-
- Base model: [google/gemma-4-
|
| 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
|
|
|
|
| 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 |
|
|
|
|
| 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 |
|
|
|
|
| 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
|