Relik
English
PereLluis13's picture
Update config.yaml
53a824e verified
raw
history blame contribute delete
636 Bytes
_target_: relik.inference.annotator.Relik
retriever:
span:
_target_: relik.retriever.pytorch_modules.model.GoldenRetriever
question_encoder: sapienzanlp/relik-retriever-e5-base-v2-aida-blink-encoder
index:
span:
_target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
name_or_path: sapienzanlp/relik-retriever-e5-base-v2-aida-blink-wikipedia-index
reader:
_target_: relik.reader.pytorch_modules.span.RelikReaderForSpanExtraction
transformer_model: sapienzanlp/relik-reader-deberta-v3-base-aida
use_nme: true
task: SPAN
metadata_fields: []
top_k: 100
window_size: 32
window_stride: 16