v0.0.8: Minor updates on model APIs
What's Changed
- [Minor] Add in trainable intervention based on binary mask intervention by @frankaging in #102
- [P1] Gradent interventions tests by @ZhengPeterWang in #103
- [Minor] Adding retry to gradient test cases to avoid failure by @frankaging in #104
- [Minor] Adding support for any two-input lambda interventions; ResNet tutorials (no config) by @frankaging in #105
- [Minor] Enable gradient for base inputs by @frankaging in #107
- [Minor] Adding an exploratory tutorial on voting in LLaMA by @frankaging in #108
- [P1] Added BLIP-ITM model definitions by @KhoomeiK in #106
- [Minor] Fix typo in the voting tutorial; fix a bug in generation by @frankaging in #109
- [Minor] Adding in subspace support for lambda by @frankaging in #113
- Merge main into peterwz by @ZhengPeterWang in #115
- [P1] Update transformers version by @ZhengPeterWang in #116
- Add GPT2 for sequence classification by @atticusg in #117
- [P1] Disable base output by default in fwd() and gen() by @frankaging in #118
- [P2] IOI replication notebooks by @aryamanarora in #119
- [P0] Rename train/evaluate methods so train/eval can set model state by @aryamanarora in #120
- [P1] Add
IntervenableModel.named_parameters()
by @aryamanarora in #122 - [P0] Fix unseen model type support by @frankaging in #123
- [Minor] Support zero_grad as a module by @frankaging in #124
- [Minor] Allow other field passing in generate besides input_ids by @frankaging in #125
- [Minor] Loading interventions as non-static method by @frankaging in #126
- [Minor] Expose more APIs for loading and saving by @frankaging in #127
- [Minor] Update README.md by @frankaging in #128
- [Minor] Allow sharing interventions across multiple positions by @frankaging in #129
- [Minor] Fix the pyvene101 with correct examples by @frankaging in #130
- Test Cases for Causal Model, MQNLI Intro Notebook by @amirzur2023 in #131
- [Minor] Update README.md with the correct citation link by @frankaging in #132
- [Minor] Update CONTRIBUTING.md by @eltociear in #133
- [Minor] Support MistralModel and MistralForCausalLM by @jiudingsun01 in #135
- [Minor] Accepting
labels
field for loss calculation by @frankaging in #136
New Contributors
- @KhoomeiK made their first contribution in #106
- @amirzur2023 made their first contribution in #131
- @eltociear made their first contribution in #133
Full Changelog: v0.0.7...v0.0.8