Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_chemprot_bert.py does not reproduce the train.tsv, dev.tsv and test.tsv files #17

Open
yyzhuang1991 opened this issue Apr 3, 2022 · 0 comments

Comments

@yyzhuang1991
Copy link

yyzhuang1991 commented Apr 3, 2022

My issue is that I could not reproduce train.tsv, dev.tsv and test.tsv of Chemprot in the bert_data.zip.

Let me take generating train.tsv as an example. I ran create_chemprot_bert.py to generate the file train.tsv with the following command line:

python blue/bert/create_chemprot_bert.py data/ChemProt/original data/ChemProt

(data/Chemprot/original is obtained from data_v0.2.zip at this link). However, the number of lines in the generated train.tsv is 19, 019, which is very different from the number of lines (19, 461) in the train.tsv in the bert_data.zip at the same link.

For example, "23580446.T4.T33" is found in my train.tsv file but not in the provided train.tsv file, and "23261590.T1.T21" is not found in my train.tsv but is found in the provided train.tsv. Notably, all cases that are mismatched in either file have the 'false' relation label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant