File size: 660 Bytes
ca1cd27 9128168 ca1cd27 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
_target_: relik.inference.annotator.Relik
retriever:
span:
_target_: relik.retriever.pytorch_modules.model.GoldenRetriever
question_encoder: riccorl/retriever-relik-e5-small-entity-linking-aida-wikipedia-question-encoder
index:
span:
_target_: relik.retriever.indexers.inmemory.InMemoryDocumentIndex.from_pretrained
name_or_path: riccorl/retriever-relik-e5-small-entity-linking-aida-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 |