-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
slotfill_dstc2_raw.json
54 lines (54 loc) · 1.14 KB
/
slotfill_dstc2_raw.json
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"dataset_reader": {
"class_name": "dstc2_reader",
"data_path": "{DATA_PATH}"
},
"dataset_iterator": {
"class_name": "dstc2_ner_iterator",
"slot_values_path": "{SLOT_VALS_PATH}"
},
"chainer": {
"in": ["x"],
"in_y": ["y"],
"pipe": [
{
"in": ["x"],
"class_name": "lazy_tokenizer",
"out": ["x_tokens"]
},
{
"in": ["x_tokens"],
"class_name": "str_lower",
"out": ["x_lower"]
},
{
"in": ["x_lower"],
"class_name": "slotfill_raw",
"save_path": "{SLOT_VALS_PATH}",
"load_path": "{SLOT_VALS_PATH}",
"out": ["slots"]
}
],
"out": ["slots"]
},
"train": {
"metrics": ["slots_accuracy"],
"evaluation_targets": [
"valid",
"test"
]
},
"metadata": {
"variables": {
"ROOT_PATH": "~/.deeppavlov",
"DATA_PATH": "{ROOT_PATH}/downloads/dstc2",
"SLOT_VALS_PATH": "{DATA_PATH}/dstc_slot_vals.json"
},
"download": [
{
"url": "http://files.deeppavlov.ai/deeppavlov_data/dstc_slot_vals.tar.gz",
"subdir": "{DATA_PATH}"
}
]
}
}