stanfordnlp / pyvene

Stanford NLP Python Library for Understanding and Improving PyTorch Models via Interventions
http://pyvene.ai
Apache License 2.0
652 stars 63 forks source link

[Minor] Loading interventions as non-static method #126

Closed frankaging closed 8 months ago

frankaging commented 8 months ago

Description

This is a basic support of loading in intervention weights with a non-static method.

Testing Done

[Manual testing]

Checklist: