forked from maum-ai/pnlp-mixer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
matis_xs.yml
44 lines (41 loc) · 927 Bytes
/
matis_xs.yml
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
vocab:
tokenizer_type: wordpiece
tokenizer:
vocab: ./wordpiece/mbert_vocab.txt
lowercase: false
strip_accents: false
clean_text: false
vocab_path: ./vocab.npy
train:
dataset_type: matis
dataset_path: ./data/matis/
labels: ./labels/matis_labels.txt
tensorboard_path: ./logs/
log_interval_steps: 10
epochs: 50
train_batch_size: 256
test_batch_size: 256
num_workers: 32
max_seq_len: &max_seq_len 64
optimizer:
lr: 5e-4
betas: [0.9, 0.999]
eps: 1e-8
model:
projection:
num_hashes: 64
feature_size: &feature_size 1024
window_size: &window_size 0
bottleneck:
window_size: *window_size
feature_size: *feature_size
hidden_dim: &hidden_dim 64
mixer:
num_mixers: 2
max_seq_len: *max_seq_len
hidden_dim: *hidden_dim
mlp_hidden_dim: 256
sequence_cls:
hidden_dim: *hidden_dim
proj_dim: *hidden_dim
num_classes: 26