Relik
English
relik-ie commited on
Commit
283995a
1 Parent(s): b04314a

Create config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +24 -0
config.yaml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: relik.inference.annotator.Relik
2
+ retriever:
3
+ span:
4
+ _target_: relik.retriever.pytorch_modules.model.GoldenRetriever
5
+ question_encoder: relik-ie/encoder-e5-small-v2-wikipedia-matryoshka
6
+ triplet:
7
+ _target_: relik.retriever.pytorch_modules.model.GoldenRetriever
8
+ question_encoder: relik-ie/encoder-e5-small-v2-wikipedia-relations
9
+ index:
10
+ span:
11
+ _target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
12
+ name_or_path: relik-ie/index-e5-small-v2-wikipedia-matryoshka
13
+ triplet:
14
+ _target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
15
+ name_or_path: relik-ie/encoder-e5-small-v2-wikipedia-relations-index
16
+ reader:
17
+ _target_: relik.reader.pytorch_modules.triplet.RelikReaderForTripletExtraction
18
+ transformer_model: relik-ie/relik-reader-deberta-v3-small-cie-wikipedia
19
+ use_nme: true
20
+ task: BOTH
21
+ metadata_fields: []
22
+ top_k: 100
23
+ window_size: 64
24
+ window_stride: 32