in preprocess/trec_finegrained.py [0:0]
def __init__(self):
self.hf_identifier = "trec-finegrained"
self.task_type = "classification"
# for classification tasks, specify the meaning of each label
self.label = {
0:"manner",
1:"cremat",
2:"animal",
3:"exp",
4:"ind",
5:"gr",
6:"title",
7:"def",
8:"date",
9:"reason",
10:"event",
11:"state",
12:"desc",
13:"count",
14:"other",
15:"letter",
16:"religion",
17:"food",
18:"country",
19:"color",
20:"termeq",
21:"city",
22:"body",
23:"dismed",
24:"mount",
25:"money",
26:"product",
27:"period",
28:"substance",
29:"sport",
30:"plant",
31:"techmeth",
32:"volsize",
33:"instru",
34:"abb",
35:"speed",
36:"word",
37:"lang",
38:"perc",
39:"code",
40:"dist",
41:"temp",
42:"symbol",
43:"ord",
44:"veh",
45:"weight",
46:"currency",
}