Skip to content

Update similarity_fn_name = 'cosine' to MaxSim #77

@sam-hey

Description

@sam-hey

When loading a model, the similarity_fn_name attribute defaults to cosine instead of max_sim. Since SentenceTransformer does not support max_sim natively, this functionality must be implemented using pylate.

self.model = colbert_model.ColBERT("colbert-ir/colbertv2.0")

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions