Views
No views yet
| Subfolder | Source training run | Model | Files |
|---|---|---|---|
exp2-embedding-codes/ | Experiment 2 — embedding codes | Qwen3-8B (layers 0–36, step 4) | probe_alpha{0.3,0.1}fc_L{layer}.pt, metrics_alpha{0.3,0.1}.json (recorded per-layer AUROC; layer-24 α=0.3 dev AUROC 0.901) |
exp8-llama-transfer/ | Experiment 8 — model-family transfer | Llama-3.1-8B (layers 0–27) | probe_alpha{0.3,0.1}fc_L{layer}.pt, per-doc dev_scores_*.npz, metrics_*.json |
.pt is a plain dict: state_dict (linear weight/bias), layer, d_model, and whitening stats norm_mu / norm_sd. Score a mean-pooled residual vector x as:1import torch
2from huggingface_hub import hf_hub_download
3
4p = torch.load(
5 hf_hub_download(
6 "siddharthmb/mats-gf-metadata-tags-probes",
7 "exp2-embedding-codes/probe_alpha0.3fc_L24.pt",
8 ),
9 map_location="cpu", weights_only=False,
10)
11w, b = p["state_dict"]["classifier.weight"][0], p["state_dict"]["classifier.bias"][0]
12score = ((x - p["norm_mu"]) / p["norm_sd"]) @ w + b # > 0 → code presentsrc/gf_metadata_tags/embedding_codes/ has the exact probe class and evaluation code.)