PereLluis13
commited on
Update config.yaml
Browse files- config.yaml +3 -3
config.yaml
CHANGED
@@ -2,16 +2,16 @@ _target_: relik.inference.annotator.Relik
|
|
2 |
retriever:
|
3 |
triplet:
|
4 |
_target_: relik.retriever.pytorch_modules.model.GoldenRetriever
|
5 |
-
question_encoder:
|
6 |
index:
|
7 |
triplet:
|
8 |
_target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
|
9 |
-
name_or_path:
|
10 |
reader:
|
11 |
_target_: relik.reader.pytorch_modules.triplet.RelikReaderForTripletExtraction
|
12 |
transformer_model: sapienzanlp/relik-reader-deberta-v3-large-nyt
|
13 |
task: TRIPLET
|
14 |
metadata_fields: []
|
15 |
-
top_k:
|
16 |
window_size: sentence
|
17 |
window_stride: null
|
|
|
2 |
retriever:
|
3 |
triplet:
|
4 |
_target_: relik.retriever.pytorch_modules.model.GoldenRetriever
|
5 |
+
question_encoder: sapienzanlp/relik-retriever-small-nyt-question-encoder
|
6 |
index:
|
7 |
triplet:
|
8 |
_target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
|
9 |
+
name_or_path: sapienzanlp/relik-retriever-small-nyt-document-index
|
10 |
reader:
|
11 |
_target_: relik.reader.pytorch_modules.triplet.RelikReaderForTripletExtraction
|
12 |
transformer_model: sapienzanlp/relik-reader-deberta-v3-large-nyt
|
13 |
task: TRIPLET
|
14 |
metadata_fields: []
|
15 |
+
top_k: 24
|
16 |
window_size: sentence
|
17 |
window_stride: null
|