Upload LoRA backbone adapters
Browse filesFiles changed (2)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454612345678910111213141516171819202122232425262728293031323334353637383940414243444546---base_model: google/gemma-4-E4B-itlibrary_name: pefttags: - base_model:adapter:google/gemma-4-E4B-it - lora - peft - classone - decision-model---
# LoRA Adapter — classone-gemma4-e4b
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).
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.
## Adapter Configuration
| Setting | Value ||---|---|| Base model | `google/gemma-4-E4B-it` || PEFT type | LORA || Rank (r) | 16 || `lora_alpha` | 32 || `lora_dropout` | 0.05 || Bias | none || Target modules | `.*language_model.*(q_proj\|o_proj\|gate_proj\|up_proj\|down_proj).*` || PEFT version | 0.21.0 |
## Usage
```pythonfrom peft import PeftModelfrom transformers import AutoModel
base = AutoModel.from_pretrained("google/gemma-4-E4B-it")model = PeftModel.from_pretrained(base, "devops-thiago/classone-gemma4-e4b", subfolder="lora_backbone")```
For end-to-end decision inference (packing questions, calibrated outputs), see the [model card](https://huggingface.co/devops-thiago/classone-gemma4-e4b).
## Attribution & Legal
- Base model: [google/gemma-4-E4B-it](https://huggingface.co/google/gemma-4-E4B-it) (Google) — Apache License 2.0- Architecture: [devops-thiago/class-one](https://github.com/devops-thiago/class-one) — Apache 2.0---
base_model: devops-thiago/classone-gemma4-e4b
library_name: peft
tags:
- base_model:adapter:devops-thiago/classone-gemma4-e4b
- lora
- peft
- classone
- decision-model
---
# LoRA Adapter — classone-gemma4-e4b
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).
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.
## Adapter Configuration
| Setting | Value |
|---|---|
| Base model | `google/gemma-4-E4B-it` |
| PEFT type | LORA |
| Rank (r) | 16 |
| `lora_alpha` | 32 |
| `lora_dropout` | 0.05 |
| Bias | none |
| Target modules | `.*language_model.*(q_proj\|o_proj\|gate_proj\|up_proj\|down_proj).*` |
| PEFT version | 0.21.0 |
## Usage
```python
from peft import PeftModel
from transformers import AutoModel
base = AutoModel.from_pretrained("google/gemma-4-E4B-it")
model = PeftModel.from_pretrained(base, "devops-thiago/classone-gemma4-e4b", subfolder="lora_backbone")
```
For end-to-end decision inference (packing questions, calibrated outputs), see the [model card](https://huggingface.co/devops-thiago/classone-gemma4-e4b).
## Attribution & Legal
- Base model: [google/gemma-4-E4B-it](https://huggingface.co/google/gemma-4-E4B-it) (Google) — Apache License 2.0
- Architecture: [devops-thiago/class-one](https://github.com/devops-thiago/class-one) — Apache 2.05 unmodified lines678991011125 unmodified lines "base_model_class": "Gemma4Model",
"parent_library": "transformers.models.gemma4.modeling_gemma4"
},
"base_model_name_or_path": "google/gemma-4-E4B-it",
"base_model_name_or_path": "devops-thiago/classone-gemma4-e4b",
"bias": "none",
"corda_config": null,
"ensure_weight_tying": false,lora_backbone/README.md+46-46
lora_backbone/adapter_config.json+1-1