Skip to content

Commit bf4df83

Browse files
authored
Update colbert.py (#18)
add checkpoint loading to colbert ranker
1 parent 0282626 commit bf4df83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastrag/rankers/colbert.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def __init__(
2929
self.devices, _ = initialize_device_settings(use_cuda=use_gpu, multi_gpu=True)
3030

3131
self.config = ColBERTConfig(
32+
checkpoint=checkpoint_path,
3233
ncells=2,
3334
nbits=2,
3435
query_maxlen=query_maxlen,

0 commit comments

Comments
 (0)