Downloads · 30 days
5
11% of all-time downloads
thejaminator/gemma-hook-layer-0
gemma-hook-layer-0 is a machine learning model from thejaminator. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
This is a LoRA (Low-Rank Adaptation) adapter trained for SAE (Sparse Autoencoder) introspection tasks.
Downloads · 30 days
5
11% of all-time downloads
All-time downloads
45
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.safetensors864 MB · 96%
From the Hugging Face model README
This is a LoRA (Low-Rank Adaptation) adapter trained for SAE (Sparse Autoencoder) introspection tasks.
google/gemma-2-9b-itfrom transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load base model and tokenizer
base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-9b-it")
tokenizer = AutoTokenizer.from_pretrained("google/gemma-2-9b-it")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "thejaminator/gemma-hook-layer-0")
This adapter was trained using the lightweight SAE introspection training script to help the model understand and explain SAE features through activation steering.