-
Notifications
You must be signed in to change notification settings - Fork 1
/
wandb_sweep_kge.yaml
90 lines (90 loc) · 1.97 KB
/
wandb_sweep_kge.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
83
84
85
86
87
88
89
90
program: train.sh
# If you only want to run all combinations of parameters once, set method: grid.
method: bayes
name: biomedgps-kge
metric:
goal: maximize
name: Test_HITS@10
parameters:
# All data files must be in the data_path/${dataset}. The data files must be named as train.tsv, valid.tsv, test.tsv.
data_path:
values:
- "/data/biomedgps-data/wandb/data"
distribution: categorical
dataset:
values:
- "drkg+hsdn+custom+malacards"
distribution: categorical
model_path:
values:
- "/data/biomedgps-data/wandb/models"
distribution: categorical
wandb_entity:
values:
- "yjcyxky"
distribution: categorical
wandb_project:
values:
- "biomedgps-kge-auto"
distribution: categorical
enable_embedding:
values:
- False
distribution: categorical
# If you enable embedding, please ensure that the related embedding files are in the data_path/${dataset}. These embedding files must match with the hidden_dim. such as entities_embeddings_400.tsv, relation_types_embeddings_400.tsv
hidden_dim:
values:
- 400
- 768
- 1024
distribution: categorical
lr:
max: 0.2
min: 0.05
distribution: uniform
batch_size:
values:
- 2048
distribution: categorical
model_name:
values:
- "ComplEx"
- "TransE"
- "DistMult"
distribution: categorical
gpu:
values:
- 0
distribution: categorical
num_proc:
values:
- 4
distribution: categorical
neg_sample_size:
values:
- 256
distribution: categorical
max_step:
values:
- 100000
distribution: categorical
log_interval:
values:
- 1000
distribution: categorical
batch_size_eval:
values:
- 16
distribution: categorical
regularization_coef:
values:
- 1.00E-07
distribution: categorical
neg_sample_size_eval:
values:
- 10000
distribution: categorical
command:
- bash
- train.sh
- ${args}