annasoli's picture
Add README with base model metadata
56c0130 verified
|
Raw
History Blame Contribute Delete
916 Bytes
---
base_model: google/gemma-3-27b-it
library_name: peft
---
# LoRA Adapter for SAE Introspection
This is a LoRA (Low-Rank Adaptation) adapter trained for SAE (Sparse Autoencoder) introspection tasks.
## Base Model
- **Base Model**: `google/gemma-3-27b-it`
- **Adapter Type**: LoRA
- **Task**: SAE Feature Introspection
## Usage
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load base model and tokenizer
base_model = AutoModelForCausalLM.from_pretrained("google/gemma-3-27b-it")
tokenizer = AutoTokenizer.from_pretrained("google/gemma-3-27b-it")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "annasoli/gemma-3-27b-activation-oracle-step-20000")
```
## Training Details
This adapter was trained using the lightweight SAE introspection training script to help the model understand and explain SAE features through activation steering.