add config.yaml
Browse files- config.yaml +41 -0
config.yaml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
dataset:
|
2 |
+
name: wikidata5m_v3
|
3 |
+
v1: false
|
4 |
+
is_legacy: false
|
5 |
+
model:
|
6 |
+
name: t5-small
|
7 |
+
tokenizer_type: t5
|
8 |
+
max_input_length: 512
|
9 |
+
max_output_length: 40
|
10 |
+
context:
|
11 |
+
use: true
|
12 |
+
max_size: 100
|
13 |
+
shuffle: true
|
14 |
+
descriptions:
|
15 |
+
use: true
|
16 |
+
train:
|
17 |
+
batch_size: 128
|
18 |
+
max_epochs: 100
|
19 |
+
drop_subject: 0.0
|
20 |
+
num_workers: 10
|
21 |
+
precision: 16
|
22 |
+
accelerator: auto
|
23 |
+
devices: auto
|
24 |
+
strategy: ddp_find_unused_parameters_false
|
25 |
+
eval:
|
26 |
+
num_predictions: 200
|
27 |
+
max_length: 40
|
28 |
+
batch_size: 1
|
29 |
+
few_shot:
|
30 |
+
use: false
|
31 |
+
num_shots: 10
|
32 |
+
valid:
|
33 |
+
every: 1
|
34 |
+
tiny: true
|
35 |
+
checkpoint:
|
36 |
+
keep_top_k: 3
|
37 |
+
resume_from: ''
|
38 |
+
wandb:
|
39 |
+
use: true
|
40 |
+
project_name: kgt5_context_${dataset.name}
|
41 |
+
run_name: v1=${dataset.v1}_desc=${descriptions.use}_bs=${train.batch_size}
|