Dr. Jorge Abreu Vicente commited on
Commit
248e817
1 Parent(s): b98e222

Create constants.py

Browse files
Files changed (1) hide show
  1. constants.py +108 -0
constants.py ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CITATIONS = {
2
+ "blurb": """\
3
+ @article{2022,
4
+ title={Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing},
5
+ volume={3},
6
+ ISSN={2637-8051},
7
+ url={http://dx.doi.org/10.1145/3458754},
8
+ DOI={10.1145/3458754},
9
+ number={1},
10
+ journal={ACM Transactions on Computing for Healthcare},
11
+ publisher={Association for Computing Machinery (ACM)},
12
+ author={Gu, Yu and Tinn, Robert and Cheng, Hao and Lucas, Michael and Usuyama, Naoto and Liu, Xiaodong and Naumann, Tristan and Gao, Jianfeng and Poon, Hoifung},
13
+ year={2022},
14
+ month={Jan},
15
+ pages={1–23}
16
+ }
17
+ """,
18
+ "BC5CDR-chem-IOB": """@article{article,
19
+ author = {Li, Jiao and Sun, Yueping and Johnson, Robin and Sciaky, Daniela and Wei, Chih-Hsuan and Leaman, Robert and Davis, Allan Peter and Mattingly, Carolyn and Wiegers, Thomas and lu, Zhiyong},
20
+ year = {2016},
21
+ month = {05},
22
+ pages = {baw068},
23
+ title = {BioCreative V CDR task corpus: a resource for chemical disease relation extraction},
24
+ volume = {2016},
25
+ journal = {Database},
26
+ doi = {10.1093/database/baw068}
27
+ }""",
28
+ "BC5CDR-disease-IOB":"""@article{article,
29
+ author = {Li, Jiao and Sun, Yueping and Johnson, Robin and Sciaky, Daniela and Wei, Chih-Hsuan and Leaman, Robert and Davis, Allan Peter and Mattingly, Carolyn and Wiegers, Thomas and lu, Zhiyong},
30
+ year = {2016},
31
+ month = {05},
32
+ pages = {baw068},
33
+ title = {BioCreative V CDR task corpus: a resource for chemical disease relation extraction},
34
+ volume = {2016},
35
+ journal = {Database},
36
+ doi = {10.1093/database/baw068}
37
+ }""",
38
+ "BC2GM-IOB":"""@article{article,
39
+ author = {Smith, Larry and Tanabe, Lorraine and Ando, Rie and Kuo, Cheng-Ju and Chung, I-Fang and Hsu, Chun-Nan and Lin, Yu-Shi and Klinger, Roman and Friedrich, Christoph and Ganchev, Kuzman and Torii, Manabu and Liu, Hongfang and Haddow, Barry and Struble, Craig and Povinelli, Richard and Vlachos, Andreas and Baumgartner Jr, William and Hunter, Lawrence and Carpenter, Bob and Wilbur, W.},
40
+ year = {2008},
41
+ month = {09},
42
+ pages = {S2},
43
+ title = {Overview of BioCreative II gene mention recognition},
44
+ volume = {9 Suppl 2},
45
+ journal = {Genome biology},
46
+ doi = {10.1186/gb-2008-9-s2-s2}
47
+ }""",
48
+ "NCBI-disease-IOB":"",
49
+ "JNLPBA":"",
50
+
51
+ }
52
+
53
+ DESCRIPTIONS = {
54
+ "blurb" : """BLURB (Biomedical Language Understanding and Reasoning Benchmark.)
55
+ is a comprehensive benchmark for biomedical NLP, with 13 biomedical NLP datasets in 6
56
+ tasks (NER, PICO, Relation Extraction, Sentence similarity, document classification, question answering).
57
+ Our aim is to facilitate investigations of biomedical natural language processing
58
+ with a specific focus on language model pretraining and to help accelerate progress in universal Biomedical
59
+ NLP applications. The table below compares the datasets comprising BLURB versus the various datasets used in
60
+ previous Biomedical and Clinical BERT language models.""",
61
+ "BC5CDR-chem-IOB":"""The corpus consists of three separate sets of
62
+ articles with diseases, chemicals and their relations annotated.
63
+ The training (500 articles) and development (500 articles) sets
64
+ were released to task participants in advance to support text-mining
65
+ method development. The test set (500 articles) was used for final
66
+ system performance evaluation.""",
67
+ "BC5CDR-disease-IOB":"""The corpus consists of three separate sets of
68
+ articles with diseases, chemicals and their relations annotated.
69
+ The training (500 articles) and development (500 articles) sets
70
+ were released to task participants in advance to support text-mining
71
+ method development. The test set (500 articles) was used for final
72
+ system performance evaluation.""",
73
+ "BC2GM-IOB":"""The BioCreative II Gene Mention task.
74
+ The training corpus for the current task consists mainly of
75
+ the training and testing corpora (text collections) from the
76
+ BCI task, and the testing corpus for the current task
77
+ consists of an additional 5,000 sentences that were held
78
+ 'in reserve' from the previous task.
79
+ In the current corpus, tokenization is not provided;
80
+ instead participants are asked to identify a gene mention
81
+ in a sentence by giving its start and end characters.
82
+ As before, the training set consists of a set of sentences,
83
+ and for each sentence a set of gene mentions
84
+ (GENE annotations).
85
+ """,
86
+ "NCBI-disease-IOB":"",
87
+ "JNLPBA":"",
88
+ }
89
+
90
+ HOMEPAGES = {
91
+ "blurb": "https://microsoft.github.io/BLURB/index.html",
92
+ "BC5CDR-chem-IOB":"https://biocreative.bioinformatics.udel.edu/resources/corpora/biocreative-v-cdr-corpus",
93
+ "BC5CDR-disease-IOB":"https://biocreative.bioinformatics.udel.edu/resources/corpora/biocreative-v-cdr-corpus",
94
+ "BC2GM-IOB": "https://biocreative.bioinformatics.udel.edu/tasks/biocreative-ii/task-1a-gene-mention-tagging/"
95
+ "NCBI-disease-IOB":"",
96
+ "JNLPBA":"",
97
+
98
+ }
99
+
100
+
101
+ DATA_URL = {
102
+ "blurb": None,
103
+ "BC5CDR-chem-IOB": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
104
+ "BC5CDR-disease-IOB": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
105
+ "BC2GM-IOB": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
106
+ "NCBI-disease-IOB":"",
107
+ "JNLPBA":"",
108
+ }