forked from mead-ml/mead-baseline
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsnips.json
69 lines (68 loc) · 1.25 KB
/
snips.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"task": "tagger",
"batchsz": 10,
"conll_output": "snips.conll",
"basedir": "./snips-sf",
"unif": 0.1,
"features": [
{
"name": "word",
"vectorizer": {
"type": "token1d",
"transform": "baseline.lowercase"
},
"embeddings": {
"label": "glove-6B-100"
}
},
{
"name": "senna",
"vectorizer": {
"type": "token1d",
"transform": "baseline.lowercase"
},
"embeddings": {
"label": "senna"
}
},
{
"name": "char",
"vectorizer": {
"type": "char2d"
},
"embeddings": { "dsz": 30, "wsz": 30, "type": "char-conv" }
}
],
"preproc": {
},
"backend": "pytorch",
"dataset": "snips",
"loader": {
"reader_type": "parallel",
"data_suffix": "in",
"tag_suffix": "out"
},
"model": {
"model_type": "default",
"cfiltsz": [
3
],
"hsz": 400,
"dropout": 0.5,
"dropin": {"word": 0.1,"senna": 0.1},
"rnntype": "blstm",
"layers": 1,
"constrain_decode": true,
"crf": 1
},
"train": {
"epochs": 100,
"optim": "sgd",
"eta": 0.015,
"mom": 0.9,
"patience": 40,
"early_stopping_metric": "f1",
"clip": 5.0,
"span_type": "iobes"
}
}