CoolFace
Apppublic

cpllab/syntaxgym

sourceHugging Faceupdated 4y agoView on Hugging Face
1likes
23 commits on main
93a7dd64y ago

gitignore

Jon Gauthier
8cca3d04y ago

refactor metric to support evaluating `all-2020` split

Jon Gauthier
8fe0b5d4y ago

test folder

Jon Gauthier
0d586334y ago

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

Jon Gauthier
dadceff4y ago

update evaluate dependency

Jon Gauthier
7eae31f4y ago

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

jgauthier
8a3618a4y ago

batch surprisal computation, now GPU friendly

jgauthier
8059baf4y ago

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

jgauthier
ea234b84y ago

document accuracy property

jgauthier
e00b8f24y ago

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

jgauthier
c70b8db4y ago

readme example fixes

jgauthier
5cd29074y ago

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

jgauthier
092c6b14y ago

partial readme draft

jgauthier
27bb1ab4y ago

minor code cleanup

jgauthier
af463794y ago

disable truncation. longer sequences are handled just fine, AFAICS

jgauthier
4bd29624y ago

add tokenizer config from perplexity metric. truncation breaks tests

jgauthier
3427db24y ago

update evaluate dependency

jgauthier
8a5deb74y ago

add requirements

jgauthier
d6b8fa34y ago

add torch, transformers requirements

jgauthier
af320434y ago

remove useless detach call

jgauthier
bcb8ccf4y ago

move metric and tests from dataset repo

jgauthier
9a11e1b4y ago

stage template files

jgauthier
0e3e57e4y ago

initial commit

jgauthier