Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boyiwei/alignment-attribution-code
/ main_low_rank_diff.py
File
main_low_rank_diff.py
main_low_rank_diff.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# difference from model_wrapper.py
2
# 1. store all input activations.
3
4
import
argparse
Callers
nothing calls this directly
Calls
8
eval_ppl
Function · 0.90
eval_attack
Function · 0.90
eval_zero_shot
Function · 0.90
get_llm
Function · 0.70
make_Act
Function · 0.70
clear_act_buffer
Function · 0.70
no_act_recording
Class · 0.70
make_low_rank
Function · 0.70
Tested by
no test coverage detected