stanfordnlp / pyvene

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

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

Closed frankaging closed 4 months ago

frankaging commented 4 months ago

Description

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

Testing Done

[Manual testing]

Checklist: