forked from studio-ousia/luke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
44 lines (44 loc) · 946 Bytes
/
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
context_entity_selection_order: highest_prob
data_dir: ./data/entity_disambiguation
do_eval: true
do_test: true
do_train: false
document_split_mode: per_mention
local_rank: -1
master_port: 29500
max_candidate_length: 30
max_grad_norm: 1.0
max_seq_length: 512
model_file: ./data/luke_large_ed
no_context_entities: false
num_gpus: 1
num_train_epochs: 2
output_dir: ./output/results/exp-2021-12-08 09:29:42
seed: 1
test_set:
# - test_b
# - test_b_ppr
- ace2004
- aquaint
# - msnbc
# - wikipedia
# - clueweb
train_args:
adam_b1: 0.9
adam_b2: 0.999
adam_correct_bias: true
adam_eps: 1.0e-06
fp16: false
fp16_max_loss_scale: 4
fp16_min_loss_scale: 1
fp16_opt_level: O2
gradient_accumulation_steps: 8
learning_rate: 2.0e-05
lr_schedule: warmup_linear
masked_entity_prob: 0.9
save_steps: 50
train_batch_size: 2
update_entity_bias: false
update_entity_emb: false
warmup_proportion: 0.1
weight_decay: 0.01