Skip to content

Commit

Permalink
Show positions in seqs viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
liambai committed Jan 18, 2025
1 parent 0ac6fff commit d391100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ Or you can install this repo as a package and run it from any directory:
RUN pip install -e .
make_viz_files --checkpoint-files <path to checkpoint> --output-dir <path to output>
```

test build
2 changes: 2 additions & 0 deletions viz/src/components/SeqsViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ export default function SeqsViewer({ seqs, title }: SeqsViewerProps) {
</span>
</TooltipTrigger>
<TooltipContent>
Position: {seq.sequence.slice(0, index).replace(/-/g, "").length}
<br />
SAE Activation: {seq.sae_acts[index]?.toFixed(3)}
</TooltipContent>
</Tooltip>
Expand Down

0 comments on commit d391100

Please sign in to comment.