Create config.yaml
Browse files- config.yaml +14 -0
config.yaml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
_target_: relik.inference.annotator.Relik
|
2 |
+
retriever:
|
3 |
+
span:
|
4 |
+
_target_: relik.retriever.pytorch_modules.model.GoldenRetriever
|
5 |
+
question_encoder: sapienzanlp/relik-retriever-e5-base-v2-aida-blink-encoder
|
6 |
+
document_index: sapienzanlp/relik-retriever-e5-base-v2-aida-blink-index
|
7 |
+
reader:
|
8 |
+
_target_: relik.reader.pytorch_modules.span.RelikReaderForSpanExtraction
|
9 |
+
transformer_model: sapienzanlp/relik-reader-deberta-v3-base-aida
|
10 |
+
task: SPAN
|
11 |
+
metadata_fields: []
|
12 |
+
top_k: 100
|
13 |
+
window_size: 32
|
14 |
+
window_stride: 16
|