generated from victoresque/pytorch-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json
43 lines (39 loc) · 867 Bytes
/
config.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
{
"name": "SkipGram on solution tokens",
"n_gpu": 1,
"arch": {
"type": "SkipGramModel",
"args": {
"vocab_size": 10000,
"embed_size": 128
}
},
"data_loader": {
"type": "TokenDataProducer",
"args":{
"n_tokens": 10000,
"batch_size": 1024,
"num_neg_samples": 5
}
},
"optimizer": {
"type": "Adam",
"args":{
"lr": 0.003,
"amsgrad": true
}
},
"trainer": {
"epochs": 1000,
"save_dir": "saved/",
"save_period": 1,
"verbosity": 2,
"monitor": "min loss",
"early_stop": 100,
"tensorboard": true
},
"tensorboard" :{
"enabled": true,
"modules": ["tensorboardX", "torch.utils.tensorboard"]
}
}