Skip to content

Commit

Permalink
Update colbert.py (#18)
Browse files Browse the repository at this point in the history
add checkpoint loading to colbert ranker
  • Loading branch information
mosheber authored Jun 13, 2023
1 parent 0282626 commit bf4df83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastrag/rankers/colbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def __init__(
self.devices, _ = initialize_device_settings(use_cuda=use_gpu, multi_gpu=True)

self.config = ColBERTConfig(
checkpoint=checkpoint_path,
ncells=2,
nbits=2,
query_maxlen=query_maxlen,
Expand Down

0 comments on commit bf4df83

Please sign in to comment.