forked from mead-ml/mead-baseline
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwnut-no-crf.json
78 lines (77 loc) · 1.52 KB
/
wnut-no-crf.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
69
70
71
72
73
74
75
76
77
{
"task": "tagger",
"basedir": "wnut-multi-emb-iobes",
"batchsz": 20,
"conll_output": "wnutresults.conll",
"unif": 0.1,
"preproc": {
"mxlen": 60,
"mxwlen": 40
},
"features": [
{
"name": "word",
"vectorizer": {
"type": "dict1d",
"fields": "text",
"transform": "baseline.lowercase"
},
"embeddings": { "label": "glove-twitter-27B"}
},
{
"name": "word2",
"vectorizer": {
"type": "dict1d",
"fields": "text",
"transform": "baseline.lowercase"
},
"embeddings": { "label": "glove-42B"}
},
{
"name": "word3",
"vectorizer": {
"type": "dict1d",
"fields": "text",
"transform": "baseline.web_cleanup"
},
"embeddings": { "label": "w2v-twitter-30M" }
},
{
"name": "char",
"vectorizer": { "type": "dict2d" },
"embeddings": { "dsz": 30, "wsz": 30, "type": "char-conv" }
}
],
"backend": "pytorch",
"dataset": "wnut-iobes",
"loader": {
"reader_type": "default",
"named_fields": {
"0":"text",
"-1":"y"
}
},
"model": {
"model_type": "default",
"cfiltsz": [
3
],
"hsz": 200,
"dropout": 0.5,
"rnntype": "blstm",
"layers": 1,
"constrain_decode":true,
"crf": 0
},
"train": {
"epochs": 60,
"optim": "sgd",
"decay": 0,
"eta": 0.015,
"mom": 0.9,
"patience": 20,
"early_stopping_metric": "f1",
"clip": 5.0,
"span_type": "iobes"
}
}