SYMBOL INDEX (50 symbols across 6 files) FILE: src/heretic/analyzer.py class Analyzer (line 18) | class Analyzer: method __init__ (line 19) | def __init__( method print_residual_geometry (line 31) | def print_residual_geometry(self): method plot_residuals (line 155) | def plot_residuals(self): FILE: src/heretic/config.py class QuantizationMethod (line 17) | class QuantizationMethod(str, Enum): class RowNormalization (line 22) | class RowNormalization(str, Enum): class DatasetSpecification (line 29) | class DatasetSpecification(BaseModel): class Settings (line 64) | class Settings(BaseSettings): method settings_customise_sources (line 317) | def settings_customise_sources( FILE: src/heretic/evaluator.py class Evaluator (line 12) | class Evaluator: method __init__ (line 20) | def __init__(self, settings: Settings, model: Model): method is_refusal (line 47) | def is_refusal(self, response: str) -> bool: method count_refusals (line 67) | def count_refusals(self) -> int: method get_score (line 95) | def get_score(self) -> tuple[tuple[float, float], float, int]: FILE: src/heretic/main.py function obtain_merge_strategy (line 57) | def obtain_merge_strategy(settings: Settings) -> str | None: function run (line 131) | def run(): function main (line 920) | def main(): FILE: src/heretic/model.py function get_model_class (line 36) | def get_model_class( class AbliterationParameters (line 48) | class AbliterationParameters: class Model (line 55) | class Model: method __init__ (line 60) | def __init__(self, settings: Settings): method _apply_lora (line 163) | def _apply_lora(self): method _get_quantization_config (line 211) | def _get_quantization_config(self, dtype: str) -> BitsAndBytesConfig |... method get_merged_model (line 236) | def get_merged_model(self) -> PreTrainedModel: method reset_model (line 282) | def reset_model(self): method get_layers (line 326) | def get_layers(self) -> ModuleList: method get_layer_modules (line 340) | def get_layer_modules(self, layer_index: int) -> dict[str, list[Module]]: method get_abliterable_components (line 395) | def get_abliterable_components(self) -> list[str]: method abliterate (line 403) | def abliterate( method generate (line 546) | def generate( method get_responses (line 593) | def get_responses( method get_responses_batched (line 611) | def get_responses_batched( method get_residuals (line 627) | def get_residuals(self, prompts: list[Prompt]) -> Tensor: method get_residuals_batched (line 672) | def get_residuals_batched(self, prompts: list[Prompt]) -> Tensor: method get_logprobs (line 682) | def get_logprobs(self, prompts: list[Prompt]) -> Tensor: method get_logprobs_batched (line 703) | def get_logprobs_batched(self, prompts: list[Prompt]) -> Tensor: method stream_chat_response (line 711) | def stream_chat_response(self, chat: list[dict[str, str]]) -> str: FILE: src/heretic/utils.py function print_memory_usage (line 34) | def print_memory_usage(): function is_notebook (line 57) | def is_notebook() -> bool: function prompt_select (line 84) | def prompt_select(message: str, choices: list[Any]) -> Any: function prompt_text (line 117) | def prompt_text( function prompt_path (line 135) | def prompt_path(message: str) -> str: function prompt_password (line 142) | def prompt_password(message: str) -> str: function format_duration (line 150) | def format_duration(seconds: float) -> str: class Prompt (line 164) | class Prompt: function load_prompts (line 169) | def load_prompts( function batchify (line 233) | def batchify(items: list[T], batch_size: int) -> list[list[T]]: function empty_cache (line 237) | def empty_cache(): function get_trial_parameters (line 259) | def get_trial_parameters(trial: Trial) -> dict[str, str]: function get_readme_intro (line 274) | def get_readme_intro(