-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
52 lines (47 loc) · 1.38 KB
/
config.yaml
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
nsmc:
ver: with-val
desc: Naver Sentiment Movie Corpus. Validation set is added. Still, no preprocessing is done. Number of classes are added.
val_ratio: 0.2
seed: 1004
tokenizer:
ver: bpe-nsmc-with-val
desc: "A BPE tokenizer, trained on nsmc:with-val-1"
# the symbols to use for special tokens
pad: <pad>
unk: <unk>
bos: <bos>
eos: <eos>
vocab_size: 30000
rnn_for_classification:
ver: cls-nsmc-with-val-overfit-1
desc: "A baseline sentiment classifier (hence the `cls` prefix). It is over-fitted to nsmc:with-val. Padding strategy = left "
max_epochs: 3
batch_size: 1024
max_length: 150
hidden_size: 512
depth: 2
shuffle: 1
lr: 0.001
num_classes: 2
lstm_for_classification:
ver: cls-nsmc-with-val-reduced
desc: "A baseline sentiment classifier (hence the `cls` prefix). It is trained on nsmc:with-val. Padding strategy = left. The number of weights is reduced to match RNN"
max_epochs: 3
batch_size: 1024
max_length: 150
hidden_size: 443
depth: 2
shuffle: 1
lr: 0.001
num_classes: 2
bilstm_for_classification:
ver: cls-nsmc-with-val-reduced
desc: "A baseline sentiment classifier (hence the `cls` prefix). It is trained on nsmc:with-val. Padding strategy = left. The number of weights is reduced to match RNN"
max_epochs: 3
batch_size: 1024
max_length: 150
hidden_size: 387
depth: 2
shuffle: 1
lr: 0.001
num_classes: 2