forked from mead-ml/mead-baseline
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconll-no-crf.json
71 lines (70 loc) · 1.25 KB
/
conll-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
{
"task": "tagger",
"batchsz": 10,
"conll_output": "conllresults.conll",
"unif": 0.1,
"features": [
{
"name": "word",
"vectorizer": {
"type": "dict1d",
"fields": "text",
"transform": "baseline.lowercase"
},
"embeddings": {
"label": "glove-6B-100"
}
},
{
"name": "senna",
"vectorizer": {
"type": "dict1d",
"fields": "text",
"transform": "baseline.lowercase"
},
"embeddings": {
"label": "senna"
}
},
{
"name": "char",
"vectorizer": {
"type": "dict2d"
},
"embeddings": { "dsz": 30, "wsz": 30, "type": "char-conv" }
}
],
"preproc": {
},
"backend": "pytorch",
"dataset": "conll-iobes",
"loader": {
"reader_type": "default",
"named_fields": {
"0": "text",
"-1": "y"
}
},
"model": {
"model_type": "default",
"cfiltsz": [
3
],
"hsz": 400,
"dropout": 0.5,
"rnntype": "blstm",
"layers": 1,
"constrain_decode": true,
"crf": 0
},
"train": {
"epochs": 100,
"optim": "sgd",
"eta": 0.015,
"mom": 0.9,
"patience": 40,
"early_stopping_metric": "f1",
"clip": 5.0,
"span_type": "iobes"
}
}