Abstract Class#
- Inference
- AbsEmbedder
AbsEmbedder
- Methods
AbsEmbedder.get_target_devices()
AbsEmbedder.get_detailed_instruct()
AbsEmbedder.encode_queries()
AbsEmbedder.encode_corpus()
AbsEmbedder.encode()
AbsEmbedder.encode_single_device()
AbsEmbedder.start_multi_process_pool()
AbsEmbedder._encode_multi_process_worker()
AbsEmbedder.stop_multi_process_pool()
AbsEmbedder.encode_multi_process()
AbsEmbedder._concatenate_results_from_multi_process()
- AbsReranker
AbsReranker
- Methods
AbsReranker.get_target_devices()
AbsReranker.get_detailed_instruct()
AbsReranker.get_detailed_inputs()
AbsReranker.compute_score()
AbsReranker.compute_score_single_gpu()
AbsReranker.start_multi_process_pool()
AbsReranker.encode_multi_process()
AbsReranker._encode_multi_process_worker()
AbsReranker.stop_multi_process_pool()
- AbsEmbedder
- Evaluation
- Finetune
- Embedder
- AbsArguments
- AbsDataset
- AbsModeling
- AbsEmbedderModel
AbsEmbedderModel
- Methods
AbsEmbedderModel.encode()
AbsEmbedderModel.compute_loss()
AbsEmbedderModel.compute_score()
AbsEmbedderModel.save()
AbsEmbedderModel.get_local_score()
AbsEmbedderModel.compute_local_score()
AbsEmbedderModel.forward()
AbsEmbedderModel.distill_loss()
AbsEmbedderModel._compute_no_in_batch_neg_loss()
AbsEmbedderModel._compute_in_batch_neg_loss()
AbsEmbedderModel._compute_cross_device_neg_loss()
AbsEmbedderModel._dist_gather_tensor()
- EmbedderOutput
- AbsEmbedderModel
- AbsTrainer
- AbsRunner
- Reranker
- Embedder