-
Notifications
You must be signed in to change notification settings - Fork 180
/
Copy pathmodel_config.yaml
82 lines (79 loc) · 1.9 KB
/
model_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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Base:
model_root: './checkpoints/'
num_workers: 3
verbose: 1
early_stop_patience: 2
pickle_feature_encoder: True
save_best_only: True
eval_steps: null
debug_mode: False
group_id: null
use_features: null
feature_specs: null
feature_config: null
SDIM_test:
model: SDIM
dataset_id: tiny_seq
loss: 'binary_crossentropy'
metrics: ['logloss', 'AUC']
task: binary_classification
optimizer: adam
learning_rate: 1.0e-3
embedding_regularizer: 0
net_regularizer: 0
batch_size: 128
embedding_dim: 4
dnn_hidden_units: [64, 32]
dnn_activations: relu
attention_dim: 64
use_qkvo: True
num_heads: 2
use_scale: True
attention_dropout: 0
reuse_hash: True
num_hashes: 2
hash_bits: 4
short_target_field: []
short_sequence_field: []
long_target_field: adgroup_id
long_sequence_field: click_sequence
net_dropout: 0
batch_norm: False
epochs: 1
shuffle: True
seed: 20222023
monitor: 'AUC'
monitor_mode: 'max'
SDIM_default: # This is a config template
model: SDIM
dataset_id: tiny_seq
loss: 'binary_crossentropy'
metrics: ['logloss', 'AUC']
task: binary_classification
optimizer: adam
learning_rate: 1.0e-3
embedding_regularizer: 0
net_regularizer: 0
batch_size: 10000
embedding_dim: 32
dnn_hidden_units: [64, 32]
dnn_activations: relu
attention_dim: 64
use_qkvo: True
num_heads: 2
use_scale: True
attention_dropout: 0
reuse_hash: True
num_hashes: 2
hash_bits: 4
short_target_field: []
short_sequence_field: []
long_target_field: adgroup_id
long_sequence_field: click_sequence
net_dropout: 0
batch_norm: False
epochs: 100
shuffle: True
seed: 20222023
monitor: 'AUC'
monitor_mode: 'max'