issues
search
stanfordnlp
/
pyvene
Stanford NLP Python Library for Understanding and Improving PyTorch Models via Interventions
http://pyvene.ai
Apache License 2.0
609
stars
59
forks
source link
[P1] Adding tests for interventions and their util functions
#64
Closed
frankaging
closed
7 months ago
frankaging
commented
8 months ago
Descriptions:
Specifically, focus on
testing the _do_intervention_by_swap util
all other interventions that do not rely on the util
test them as a regular torch module with some extra initialization steps
Descriptions: Specifically, focus on