stanfordnlp / pyvene

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

[Minor] Fix typo in the voting tutorial; fix a bug in generation #109

Closed frankaging closed 5 months ago

frankaging commented 5 months ago

Description

Fix typos in the voting tutorial. The current intervention calls on generation has a buggy setup if we want to pass in a source and base to do interchange intervention. This is a quick fix but not the final solution.

Testing Done

Relevant tutorials are reran.

Checklist: