File size: 1,093 Bytes
626eca0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
max_passages: 64

datamodule:
  _target_: relik.retriever.lightning_modules.pl_data_modules.PLDataModule
  tokenizer: ${model.language_model}
  datasets:
    train:
      _target_: relik.retriever.data.dpr.datasets.SampledNegativesDPRDataset
      name: "train"
      passages_path: ${data_overrides.passages_path}
      max_passage_length: 64
      max_passages: ${data.max_passages}
      path: ${data_overrides.train_path}

    val:
      - _target_: relik.retriever.data.dpr.datasets.SampledNegativesDPRDataset
        name: "val"
        passages_path: ${data_overrides.passages_path}
        max_passage_length: 64
        max_passages: ${data.max_passages}
        path: ${data_overrides.val_path}

    test:
      - _target_: relik.retriever.data.dpr.datasets.SampledNegativesDPRDataset
        name: "test"
        passages_path: ${data_overrides.passages_path}
        max_passage_length: 64
        max_passages: ${data.max_passages}
        path: ${data_overrides.test_path}

  batch_sizes:
    train: 4
    val: 64
    test: 64

  num_workers:
    train: 4
    val: 4
    test: 4