MCPcopy Create free account

hub / github.com/adamkarvonen/activation_oracles / functions

Functions716 in github.com/adamkarvonen/activation_oracles

Functionrun_best_of_n_evaluation_for_explanations
Run evaluation for all explanations and return only the best F1 score per SAE ID. Args: explanations: All explanations (potentially
nl_probes/autointerp_detection_eval/eval_detection_v2.py:678
Functionrun_evaluation
Run evaluation and save results.
nl_probes/autointerp_detection_eval/local_eval.py:26
Functionrun_list_of_prompts
Call `model_name` once per prompt. Note: This supports caching of API requests as well - will just use cached responses from disk if they exist.
nl_probes/autointerp_detection_eval/caller.py:1083
Functionrun_verbalizer
Run verbalizer evaluation. Assumptions: Both the verbalizer and lora path are LoRA adapters that have already been loaded into the model. The
nl_probes/base_experiment.py:376
Functionsave_logs
( eval_results_path: str, global_step: int, all_feature_results_this_eval_step: list[FeatureResult
nl_probes/utils/eval.py:77
Functionscore_detection_async
For use in interactive notebooks.
nl_probes/autointerp_detection_eval/lora_hf_eval.py:228
Methodsingle_response
(self)
nl_probes/autointerp_detection_eval/caller.py:196
Methodsorted_probs
(self)
nl_probes/autointerp_detection_eval/caller.py:228
Functiontest_enable_disable_adapters_simple
(model_name)
tests/test_peft.py:17
Functiontest_get_layer_count
Verify get_layer_count matches known layer counts from HuggingFace configs.
tests/test_layer_counts.py:26
Functiontest_positions
(model_name)
tests/test_positions.py:17
Methodto_anthropic_content
(self)
nl_probes/autointerp_detection_eval/caller.py:57
Methodto_yaml
(self, path: str | Path)
nl_probes/trl_training/config.py:28
Functionvalidate_json_item
(item: str, model: type[GenericBaseModel])
nl_probes/autointerp_detection_eval/caller.py:265
Methodword_or_target
Get word (old format) or target_lora_path (new format).
experiments/final_paper_plots/plot_ssc_results.py:97
Functionwrapper
(features)
nl_probes/trl_training/personaqa_train.py:30
← previous701–716 of 716, ranked by callers