stanfordnlp/pyvene

[P1] Adding tests for interventions and their util functions

frankaging opened this issue · 0 comments

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