-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
45 lines (39 loc) · 1.05 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
# Model hyperparameters
inference_mode : True
learning_rate : 0.005
num_epochs : 30
seed : 42
ckpt_save_freq : 10
# Dataset parameters
dataset:
path : ./dataset/archive
train_split : 0.8
validation_split : 0.1
test_split : 0.1
classes : {'N':0,
'A':1,
'W':2,
'H':3,
'F':4,
'S':5}
Tokenizer:
Max_lenght : 150
# Model architecture
model:
name : 'hubert-base'
pretrained : 'facebook/hubert-base-ls960'
num_classes : 6
Wave2vec : False
output_hidden_states : True
#{'last_hidden_state','hidden_states'}
Act : 'last_hidden_state'
hidden_states_layer_number : 4
# Optimization parameters
optimizer :
name : AdamW
# Scheduler parameters
scheduler:
name : OneCylcle
start_factor: 1
end_factor : 0.5
total_iters : 20