analiza aiqbench
The GRADIEND package offers a practical, open-source implementation of gradient-based feature learning methods within large language models, streamlining workflows from data creation to persistent model rewriting. By enabling direct manipulation of factual-counterfactual gradients, this tool facilitates deeper interpretability and controlled editing of semantic representations without relying on black-box inference. This development represents a significant step forward in making advanced mechanistic interpretability techniques accessible for researchers working on model transparency and feature alignment.
The GRADIEND Python Package: An End-to-End System for Gradient-Based Feature Learning
De la arXiv
Text integralWe present gradiend, an open-source Python package that operationalizes the GRADIEND method for learning feature directions from factual-counterfactual MLM and CLM gradients in language models. The package provides a unified workflow for feature-related data creation, training, evaluation, visualization, persistent model rewriting via controlled weight updates, and multi-feature comparison. We demonstrate gradiend through an English pronoun running example, a semantic sentiment use case that evaluates lexical generalization to held-out target words, and a large-scale feature comparison.
Text integral sub licența deschisă a publicației · 75 cuvinte