↓ 1 callersMethodget_triplet_maskReturn a 3D mask where mask[a, p, n] is True iff the triplet (a, p, n) is valid. A triplet (i, j, k) is valid if: - i, j, k are di
sentence_transformers/losses/BatchHardTripletLoss.py:146
Method__call__(self, model, output_path: str = None, epoch: int = -1, steps: int = -1, *args, **kwargs)
sentence_transformers/evaluation/InformationRetrievalEvaluator.py:90
Method__init__(self, sentence_pairs: List[List[str]], labels: List[int], name: str='', threshold: float = 0.5, write_csv: bo
sentence_transformers/cross_encoder/evaluation/CEBinaryAccuracyEvaluator.py:20
Method__init__(self, vocab: List[str], word_weights: Dict[str, float] = {}, unknown_word_weight: float = 1, cumulative_term_
sentence_transformers/models/BoW.py:20
Method__init__(self, in_features: int, out_features: int, bias: bool = True, activation_function=nn.Tanh(), init_weight: Ten
sentence_transformers/models/Dense.py:23
Method__init__(self, in_word_embedding_dimension: int, out_channels: int = 256, kernel_sizes: List[int] = [1, 3, 5], stride_
sentence_transformers/models/CNN.py:17
Method__init__(self, word_embedding_dimension: int, hidden_dim: int, num_layers: int = 1, dropout: float = 0, bidirectional:
sentence_transformers/models/LSTM.py:13