This commit is contained in:
Timothy J. Baek 2024-09-19 17:31:59 +02:00
parent f8fffdd288
commit 687cae9b79

View File

@ -206,7 +206,7 @@ def update_reranking_model(
self.device = "cuda" if torch.cuda.is_available() else "cpu"
self.ckpt = Checkpoint(
get_model_path(name, auto_update),
colbert_config=ColBERTConfig(),
colbert_config=ColBERTConfig(model_name=name),
).to(self.device)
pass