Method__init__ BatchSemiHardTripletLoss takes a batch with (label, input) pairs and computes the loss for all possible, valid triplets, i.e., anchor
sentence_transformers/sentence_transformer/losses/batch_semi_hard_triplet.py:15
Method__init__ Given a dataset of (anchor, positive) pairs, (anchor, positive, negative) triplets, or (anchor, positive, negative_1, ..., negative_n)
sentence_transformers/sentence_transformer/losses/multiple_negatives_ranking.py:18
Method__init__ BatchHardSoftMarginTripletLoss takes a batch with (input, label) pairs and computes the loss for all possible, valid triplets, i.e.,
sentence_transformers/sentence_transformer/losses/batch_hard_soft_margin_triplet.py:15
Method__init__ BatchAllTripletLoss takes a batch with (input, label) pairs and computes the loss for all possible, valid triplets, i.e., anchor and
sentence_transformers/sentence_transformer/losses/batch_all_triplet.py:14
Method__init__ BatchHardTripletLoss takes a batch with (input, label) pairs and computes the loss for all possible, valid triplets, i.e., anchor and
sentence_transformers/sentence_transformer/losses/batch_hard_triplet.py:63
Method__init__(
self,
dataset_folder,
s1_col_idx=0,
s2_col_idx=1,
s3_col_idx=2,
sentence_transformers/sentence_transformer/readers/triplet.py:24
Method__init__(
self,
dataset_folder,
s1_col_idx=5,
s2_col_idx=6,
score_col_idx=4,
sentence_transformers/sentence_transformer/readers/sts_data.py:78
Method__init__(
self,
samples: list[dict],
*,
at_k: int = 10,
name: str = "",
sentence_transformers/multi_vector_encoder/evaluation/reranking.py:64
Method__init__(
self,
queries: dict[str, SingleInput],
corpus: dict[str, SingleInput],
relev
sentence_transformers/multi_vector_encoder/evaluation/information_retrieval.py:107
Method__init__(self, callback: Callable[[float, int, int], None], evaluator: BaseEvaluator)
sentence_transformers/cross_encoder/fit_mixin.py:124