Skip to content

Commit

Permalink
default values for colbert
Browse files Browse the repository at this point in the history
  • Loading branch information
fschlatt committed Jul 18, 2024
1 parent f0fb1cf commit 3a5f9e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lightning_ir/models/col/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ def __init__(
query_expansion: bool = True,
attend_to_query_expanded_tokens: bool = False,
query_mask_scoring_tokens: Sequence[str] | None = None,
doc_mask_scoring_tokens: (Sequence[str] | Literal["punctuation"] | None) = "punctuation",
doc_mask_scoring_tokens: Sequence[str] | Literal["punctuation"] | None = "punctuation",
query_aggregation_function: Literal["sum", "mean", "max", "harmonic_mean"] = "sum",
normalize: bool = True,
add_marker_tokens: bool = True,
normalize: bool = False,
add_marker_tokens: bool = False,
embedding_dim: int = 128,
projection: Literal["linear", "linear_no_bias"] | None = "linear_no_bias",
**kwargs,
Expand Down

0 comments on commit 3a5f9e7

Please sign in to comment.