Skip to content

Commit

Permalink
may fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Parry-Parry committed Nov 21, 2024
1 parent 0a6b1cb commit e277003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rankers/modelling/sparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(
model_name_or_path: str = "bert-base-uncased",
query_processing: str = 'splade_max',
doc_processing: str = 'splade_max',
pooling_type="cls",
pooling_type="none",
inbatch_loss=None,
model_tied=True,
use_pooler=False,
Expand Down Expand Up @@ -48,7 +48,7 @@ def from_pretrained(
model_name_or_path: str = "bert-base-uncased",
query_processing: str = 'splade_max',
doc_processing: str = 'splade_max',
pooling_type="cls",
pooling_type="none",
inbatch_loss=None,
model_tied=True,
use_pooler=False,
Expand Down

0 comments on commit e277003

Please sign in to comment.