kanishkamisra / minicons

Utility for behavioral and representational analyses of Language Models
https://minicons.kanishka.website
MIT License
122 stars 29 forks source link

Add support for sequence-to-sequence models #7

Closed aaronmueller closed 2 years ago

aaronmueller commented 2 years ago

Added the Seq2SeqScorer class in minicons/scorer.py. Support for two source sequence formats: "blank" (no source sequence) and "copy" (source is the same as target).

Tested with T5. May not work as well with models which require separate source and target formats (e.g., BART).

netlify[bot] commented 2 years ago

Deploy Preview for pyminicons canceled.

Name Link
Latest commit 36544de6b651b63b5f312bc9aae3fc4a302a6aec
Latest deploy log https://app.netlify.com/sites/pyminicons/deploys/629bd1bde8f858000809331a