-
Notifications
You must be signed in to change notification settings - Fork 3
/
rotate-wikidata5m-sequential.yaml
65 lines (64 loc) · 1.16 KB
/
rotate-wikidata5m-sequential.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
dataset:
name: wikidata5m
entity_ranking:
chunk_size: 5000
eval:
batch_size: 256
import:
- rotate
lookup_embedder:
dim: 128
initialize: xavier_uniform_
initialize_args:
normal_:
mean: 0.0
std: 3.0258816720414108e-05
uniform_:
a: -0.5471612330226786
xavier_normal_:
gain: 1.0
xavier_uniform_:
gain: 1.0
regularize: ''
regularize_args:
weighted: true
sparse: true
model: rotate
negative_sampling:
implementation: batch
num_samples:
o: 905
s: 878
shared: true
shared_type: naive
rotate:
entity_embedder:
dropout: 0.2189469924196601
regularize_weight: 0.022287069546013984
relation_embedder:
dropout: -0.3986804271116853
regularize_weight: 2.605672850011217e-05
search:
on_error: continue
train:
auto_correct: true
batch_size: 512
loss_arg: 1.0
lr_scheduler: ReduceLROnPlateau
lr_scheduler_args:
factor: 0.95
mode: max
patience: 1
threshold: 0.0001
max_epochs: 300
num_workers: 4
optimizer:
default:
args:
lr: 0.10233579996730208
type: negative_sampling
valid:
early_stopping:
threshold:
epochs: 10
metric_value: 0.1