forked from Receiling/UniRE
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yml
More file actions
41 lines (38 loc) · 828 Bytes
/
config.yml
File metadata and controls
41 lines (38 loc) · 828 Bytes
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
#save_dir: ckpt/demo
#data_dir: data/ACE2005/
train_file: 02-matrix/train.json
dev_file: 02-matrix/dev.json
test_file: 02-matrix/test.json
ent_rel_file: ent_rel_file.json
max_sent_len: 512
max_wordpiece_len: 512
embedding_model: bert
mlp_hidden_size: 150
max_span_length: 10
dropout: 0.4
logit_dropout: 0.2
bert_model_name: bert-base-uncased
bert_output_size: 0
bert_dropout: 0.0
separate_threshold: 1.4
gradient_clipping: 5.0
learning_rate: 5e-5
bert_learning_rate: 5e-5
lr_decay_rate: 0.9
adam_beta1: 0.9
adam_beta2: 0.9
adam_epsilon: 1e-12
adam_weight_decay_rate: 1e-5
adam_bert_weight_decay_rate: 1e-5
seed: 5216
epochs: 200
pretrain_epochs: 100
warmup_rate: 0.2
early_stop: 30
train_batch_size: 32
test_batch_size: 32
gradient_accumulation_steps: 1
logging_steps: 32
validate_every: 20000
device: -1
log_file: train.log