File size: 735 Bytes
94e4573
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
dataset:
  name: wikidata5m_v3
  v1: false
  is_legacy: false
model:
  name: t5-small
  tokenizer_type: t5
  max_input_length: 512
  max_output_length: 40
context:
  use: true
  max_size: 100
  shuffle: true
descriptions:
  use: true
train:
  batch_size: 128
  max_epochs: 100
  drop_subject: 0.0
  num_workers: 10
  precision: 16
  accelerator: auto
  devices: auto
  strategy: ddp_find_unused_parameters_false
eval:
  num_predictions: 200
  max_length: 40
  batch_size: 1
  few_shot:
    use: false
    num_shots: 10
valid:
  every: 1
  tiny: true
checkpoint:
  keep_top_k: 3
resume_from: ''
wandb:
  use: true
  project_name: kgt5_context_${dataset.name}
  run_name: v1=${dataset.v1}_desc=${descriptions.use}_bs=${train.batch_size}