Safetensors
bi-encoder
fschlatt's picture
update readme
be1a6a8
raw
history blame
533 Bytes
trainer:
logger: false
callbacks:
- class_path: lightning_ir.IndexCallback
init_args:
index_dir: ./index
index_config:
class_path: lightning_ir.FaissFlatIndexConfig
model:
class_path: lightning_ir.BiEncoderModule
init_args:
model_name_or_path: webis/bert-bi-encoder
data:
class_path: lightning_ir.LightningIRDataModule
init_args:
num_workers: 1
inference_batch_size: 256
inference_datasets:
- class_path: DocDataset
init_args:
doc_dataset: msmarco-passage