-
Notifications
You must be signed in to change notification settings - Fork 40
/
processing-asqa-retrieval.yaml
40 lines (33 loc) · 1.12 KB
/
processing-asqa-retrieval.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
name: asqa_retrieval
cache: false
output_path: .
steps:
- _target_: ragfit.processing.dataset_loaders.loaders.HFLoader
inputs: train
dataset_config:
path: din0s/asqa
split: train
- _target_: ragfit.processing.dataset_loaders.loaders.HFLoader
inputs: dev
dataset_config:
path: din0s/asqa
split: dev
- _target_: ragfit.processing.local_steps.common_datasets.ASQA
inputs: [train, dev]
- _target_:
ragfit.processing.local_steps.retrievers.haystack.HaystackRetriever
inputs: [train, dev]
pipeline_or_yaml_path: ./configs/external/haystack/qdrant.yaml
docs_key: positive_passages
query_key: query
- _target_: ragfit.processing.local_steps.context.ContextHandler
inputs: [train, dev]
docs_key: positive_passages
- _target_: ragfit.processing.global_steps.sampling.Sampler
inputs: [train, dev]
k: 1
input_key: positive_passages
output_key: negative_passages
- _target_: ragfit.processing.global_steps.output.OutputData
inputs: [train, dev]
prefix: asqa