Commit History

gitignore
93a7dd6

Jon Gauthier commited on

refactor metric to support evaluating `all-2020` split
8cca3d0

Jon Gauthier commited on

test folder
8fe0b5d

Jon Gauthier commited on

fall back to GPT2TokenizerFast for models which don't have a fast tokenizer (like OPT)
0d58633

Jon Gauthier commited on

update evaluate dependency
dadceff

Jon Gauthier commited on

don't mix up condition indexing in suites where items have different order of content by condition (e.g. number_prep in syntaxgym2020)
7eae31f

jgauthier commited on

batch surprisal computation, now GPU friendly
8a3618a

jgauthier commited on

get_region_edges: fix edge case (ha) where empty initial regions cause the count to be off
8059baf

jgauthier commited on

document accuracy property
ea234b8

jgauthier commited on

interface change: use namedtuple for metric result so that we can add an `accuracy` property and have dot-access
e00b8f2

jgauthier commited on

readme example fixes
c70b8db

jgauthier commited on

update metric to support new dataset repr, and evaluating multiple suites in one call
5cd2907

jgauthier commited on

partial readme draft
092c6b1

jgauthier commited on

minor code cleanup
27bb1ab

jgauthier commited on

disable truncation. longer sequences are handled just fine, AFAICS
af46379

jgauthier commited on

add tokenizer config from perplexity metric. truncation breaks tests
4bd2962

jgauthier commited on

update evaluate dependency
3427db2

jgauthier commited on

add requirements
8a5deb7

jgauthier commited on

add torch, transformers requirements
d6b8fa3

jgauthier commited on

remove useless detach call
af32043

jgauthier commited on

move metric and tests from dataset repo
bcb8ccf

jgauthier commited on

stage template files
9a11e1b

jgauthier commited on

initial commit
0e3e57e

jgauthier commited on