句子转换器¶
- SentenceTransformer
- SentenceTransformer
SentenceTransformer
SentenceTransformer.bfloat16()
SentenceTransformer.compile()
SentenceTransformer.cpu()
SentenceTransformer.cuda()
SentenceTransformer.device
SentenceTransformer.double()
SentenceTransformer.encode()
SentenceTransformer.encode_multi_process()
SentenceTransformer.eval()
SentenceTransformer.evaluate()
SentenceTransformer.fit()
SentenceTransformer.float()
SentenceTransformer.get_max_seq_length()
SentenceTransformer.get_sentence_embedding_dimension()
SentenceTransformer.half()
SentenceTransformer.max_seq_length
SentenceTransformer.old_fit()
SentenceTransformer.push_to_hub()
SentenceTransformer.save()
SentenceTransformer.save_pretrained()
SentenceTransformer.set_pooling_include_prompt()
SentenceTransformer.similarity
SentenceTransformer.similarity_fn_name
SentenceTransformer.similarity_pairwise
SentenceTransformer.smart_batching_collate()
SentenceTransformer.start_multi_process_pool()
SentenceTransformer.stop_multi_process_pool()
SentenceTransformer.to()
SentenceTransformer.tokenize()
SentenceTransformer.tokenizer
SentenceTransformer.train()
SentenceTransformer.truncate_sentence_embeddings()
- SentenceTransformerModelCardData
- 相似度函数
- SentenceTransformer
- 训练师
- SentenceTransformerTrainer
SentenceTransformerTrainer
SentenceTransformerTrainer.add_callback()
SentenceTransformerTrainer.compute_loss()
SentenceTransformerTrainer.create_model_card()
SentenceTransformerTrainer.create_optimizer()
SentenceTransformerTrainer.create_optimizer_and_scheduler()
SentenceTransformerTrainer.create_scheduler()
SentenceTransformerTrainer.evaluate()
SentenceTransformerTrainer.get_batch_sampler()
SentenceTransformerTrainer.get_eval_dataloader()
SentenceTransformerTrainer.get_learning_rates()
SentenceTransformerTrainer.get_multi_dataset_batch_sampler()
SentenceTransformerTrainer.get_num_trainable_parameters()
SentenceTransformerTrainer.get_optimizer_group()
SentenceTransformerTrainer.get_test_dataloader()
SentenceTransformerTrainer.get_train_dataloader()
SentenceTransformerTrainer.hyperparameter_search()
SentenceTransformerTrainer.is_local_process_zero()
SentenceTransformerTrainer.is_world_process_zero()
SentenceTransformerTrainer.log()
SentenceTransformerTrainer.pop_callback()
SentenceTransformerTrainer.propagate_args_to_deepspeed()
SentenceTransformerTrainer.push_to_hub()
SentenceTransformerTrainer.remove_callback()
SentenceTransformerTrainer.save_model()
SentenceTransformerTrainer.train()
- SentenceTransformerTrainer
- 训练参数
- SentenceTransformerTrainingArguments
SentenceTransformerTrainingArguments
SentenceTransformerTrainingArguments.ddp_timeout_delta
SentenceTransformerTrainingArguments.device
SentenceTransformerTrainingArguments.eval_batch_size
SentenceTransformerTrainingArguments.get_process_log_level()
SentenceTransformerTrainingArguments.get_warmup_steps()
SentenceTransformerTrainingArguments.local_process_index
SentenceTransformerTrainingArguments.main_process_first()
SentenceTransformerTrainingArguments.n_gpu
SentenceTransformerTrainingArguments.parallel_mode
SentenceTransformerTrainingArguments.place_model_on_device
SentenceTransformerTrainingArguments.process_index
SentenceTransformerTrainingArguments.set_dataloader()
SentenceTransformerTrainingArguments.set_evaluate()
SentenceTransformerTrainingArguments.set_logging()
SentenceTransformerTrainingArguments.set_lr_scheduler()
SentenceTransformerTrainingArguments.set_optimizer()
SentenceTransformerTrainingArguments.set_push_to_hub()
SentenceTransformerTrainingArguments.set_save()
SentenceTransformerTrainingArguments.set_testing()
SentenceTransformerTrainingArguments.set_training()
SentenceTransformerTrainingArguments.should_log
SentenceTransformerTrainingArguments.should_save
SentenceTransformerTrainingArguments.to_dict()
SentenceTransformerTrainingArguments.to_json_string()
SentenceTransformerTrainingArguments.to_sanitized_dict()
SentenceTransformerTrainingArguments.train_batch_size
SentenceTransformerTrainingArguments.world_size
- SentenceTransformerTrainingArguments
- 损失
- BatchAllTripletLoss
- BatchHardSoftMarginTripletLoss
- BatchHardTripletLoss
- BatchSemiHardTripletLoss
- 对比损失
- 在线对比损失
- 对比张力损失
- ContrastiveTensionLossInBatchNegatives
- CoSENTLoss
- AnglELoss
- 余弦相似度损失
- 去噪自编码器损失
- GISTEmbedLoss
- CachedGISTEmbedLoss
- MSELoss
- MarginMSELoss
- MatryoshkaLoss
- Matryoshka2dLoss
- AdaptiveLayerLoss
- MegaBatchMarginLoss
- MultipleNegativesRankingLoss
- CachedMultipleNegativesRankingLoss
- MultipleNegativesSymmetricRankingLoss
- CachedMultipleNegativesSymmetricRankingLoss
- SoftmaxLoss
- TripletLoss
- 采样器
- 评估
- 数据集
- 模型
- 量化