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

Add SigmoidMaskRotatedSpaceIntervention #42

Closed jiudingsun01 closed 9 months ago

jiudingsun01 commented 9 months ago

Revised commit after fixing the code according to the comment.