-
Notifications
You must be signed in to change notification settings - Fork 2
/
configs.py
37 lines (37 loc) · 1.26 KB
/
configs.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
DATASET_CONFIGS = {
"imdb": {
"labels": 2,
"label_names": ["negative", "positive"],
"dataset_columns": (["text"], "label"),
"local_path": "./data/imdb",
"eval_datasets": {"test": "imdb", "cross_domain": "yelp"},
},
"yelp": {
"labels": 2,
"label_names": ["negative", "positive"],
"dataset_columns": (["text"], "label"),
"local_path": "./data/yelp",
"eval_datasets": {"test": "yelp", "cross_domain": "imdb"},
},
"rt": {
"labels": 2,
"label_names": ["negative", "positive"],
"dataset_columns": (["text"], "label"),
"remote_name": "rotten_tomatoes",
"eval_datasets": {"test": "rt", "cross_domain": "yelp"},
},
"snli": {
"labels": 3,
"label_names": ["entailment", "neutral", "contradiction"],
"dataset_columns": (["premise", "hypothesis"], "label"),
"remote_name": "snli",
"eval_datasets": {"test": "snli", "cross_domain": "mnli"},
},
"mnli": {
"labels": 3,
"label_names": ["entailment", "neutral", "contradiction"],
"dataset_columns": (["premise", "hypothesis"], "label"),
"remote_name": "multi_nli",
"split": "validation_mismatched+validation_matched",
},
}