stanfordnlp / pyvene

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

[Minor] Enable gradient for base inputs #107

Closed frankaging closed 7 months ago

frankaging commented 7 months ago

Description

Allow gradient on the base input. Minor change on initial temp setting for intervention.

Testing Done

TBD

Checklist: