Skip to content

Commit

Permalink
idk, probs good
Browse files Browse the repository at this point in the history
  • Loading branch information
jbloom-md committed Jan 27, 2024
1 parent 1ec8f97 commit 0407ad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sae_analysis/visualizer/data_fns.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,8 @@ def hook_fn_resid_post(resid_post: Float[Tensor, "batch seq d_model"], hook: Hoo
_logits = logits[feat]

# Get data for logits histogram
logits_histogram_data.append(HistogramData(_logits, n_bins=40, tickmode="5 ticks"))
# logits_histogram_data.append(HistogramData(_logits, n_bins=40, tickmode="5 ticks"))
logits_histogram_data.append(HistogramData(_logits, n_bins=40, tickmode="ints"))

# Get data for logits table
top10_logits.append((TopK(_logits.topk(k=10, largest=False)), TopK(_logits.topk(k=10))))
Expand Down

0 comments on commit 0407ad9

Please sign in to comment.