forked from mead-ml/mead-baseline
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathptb-convchar.json
More file actions
46 lines (45 loc) · 849 Bytes
/
ptb-convchar.json
File metadata and controls
46 lines (45 loc) · 849 Bytes
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
{
"task": "lm",
"batchsz": 20,
"unif": 0.05,
"nbptt": 35,
"charsz": 16,
"preproc": {
"mxwlen": 40,
"lower": true
},
"backend": "tensorflow",
"dataset": "ptb",
"loader": {
"reader_type": "default",
"tgt_key": "word"
},
"features": [{
"name": "word",
"vectorizer": {
"type": "token1d",
"fields": "conv-char",
},
"embeddings": {
"cfiltsz": [1,2,3,4,5,6,7],
"nfeat_factor": 50,
"gating": "highway",
"num_gates": 2
"dsz": 650
}
}],
"model": {
"model_type": "default",
"hsz": 650,
"layers": 2,
},
"train": {
"epochs": 25,
"patience": 40000,
"optim": "sgd",
"eta": 20.0,
"mom": 0.0,
"do_early_stopping": true,
"clip": 0.25
}
}