Relik
English
PereLluis13 commited on
Commit
88dcb76
1 Parent(s): 78f1d97

Create config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +17 -0
config.yaml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: relik.inference.annotator.Relik
2
+ retriever:
3
+ triplet:
4
+ _target_: relik.retriever.pytorch_modules.model.GoldenRetriever
5
+ question_encoder: PereLluis13/relik-retriever-small-nyt-question-encoder
6
+ index:
7
+ triplet:
8
+ _target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
9
+ name_or_path: PereLluis13/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: 100
16
+ window_size: sentence
17
+ window_stride: null