Downloads · 30 days
0
Helder5788/jlens-amalia
jlens-amalia is a machine learning model from Helder5788. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Pre-fitted Jacobian Lenses for the Amalia model family, fitted on the amalia-llm/CorEGe-PT dataset.
Downloads · 30 days
0
Access
Public
Updated Jul 17, 2026
Repo size
2.8 GB
Likes
0
Public
Click a slice to open those files.
.pt2.8 GB · 100%
From the Hugging Face model README
Pre-fitted Jacobian Lenses for the Amalia model family, fitted on the amalia-llm/CorEGe-PT dataset.
Trained using Anthropic's Jacobian Lens library via the Neuronpedia fitting utilities. The same library can be used to load a lens and run the local visualizer. Jacobian Lens can also be explored on Neuronpedia.
| Lens | Base model | Architecture | Prompts | Path |
|---|---|---|---|---|
| AMALIA-9B-0626-DPO / CorEGe-PT | amalia-llm/AMALIA-9B-0626-DPO | LlamaForCausalLM, 42 layers, d_model=4096 | 783 | amalia-9b-0626-dpo/corege-pt/ |
| AMALIA-VL-DPO / CorEGe-PT | amalia-llm/AMALIA-VL-DPO | LlavaNextForConditionalGeneration, 42 layers, d_model=4096 | 740 | amalia-vl-dpo/corege-pt/ |
Each subfolder contains:
<MODEL>_jacobian_lens.pt — fitted lens weights<MODEL>_convergence.csv — full convergence curve (Δmean vs. prompt count)Both lenses were fit with the same recipe:
amalia-llm/CorEGe-PT, split=train, field=textpt.auto=true,pt.pt.auto=true[˙ˆ˜œ], max_chars=20001e-2, 5e-3, 1e-3stop_at_delta=0.002 over a 10-prompt running-mean window (min_prompts=100)dim_batch=32, max_seq_len=128| Δmean threshold | First reached at |
|---|---|
| < 0.01 | 123 prompts |
| < 0.005 | 268 prompts |
| < 0.001 | not reached |
Stopped early at 783 prompts, Δmean = 2.11e-03. Peak CUDA memory: 34.13 GB.
| Δmean threshold | First reached at |
|---|---|
| < 0.01 | 106 prompts |
| < 0.005 | 211 prompts |
| < 0.001 | not reached |
Stopped early at 740 prompts, Δmean = 1.63e-03. Peak CUDA memory: 34.94 GB.
from jacobian_lens import HFLensModel, JacobianLens
lens = JacobianLens.from_pretrained(
"Helder5788/jlens-amalia",
subfolder="amalia-9b-0626-dpo/corege-pt", # or "amalia-vl-dpo/corege-pt"
)
model = HFLensModel.from_pretrained("amalia-llm/AMALIA-9B-0626-DPO")
model.attach_lens(lens)
See the Jacobian Lens library for full API details and the local visualizer.
MIT