RadAlienware
commited on
Commit
•
7f66237
1
Parent(s):
6867e1e
Create config.yaml
Browse files- config.yaml +18 -0
config.yaml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
index:
|
7 |
+
span:
|
8 |
+
_target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
|
9 |
+
name_or_path: sapienzanlp/relik-retriever-e5-base-v2-aida-blink-wikipedia-index
|
10 |
+
reader:
|
11 |
+
_target_: relik.reader.pytorch_modules.span.RelikReaderForSpanExtraction
|
12 |
+
transformer_model: RadAlienware/relik-materials1
|
13 |
+
use_nme: true
|
14 |
+
task: SPAN
|
15 |
+
metadata_fields: []
|
16 |
+
top_k: 100
|
17 |
+
window_size: 32
|
18 |
+
window_stride: 16
|