Transformer-Rankers
Tutorials
Quick-start
Setup
Example (I) - Supported dataset
Example (II) - Custom dataset
Intro to Components
datasets
negative_samplers
eval
trainers
Documentation
transformer_rankers
transformer_rankers.datasets
transformer_rankers.datasets.dataset
transformer_rankers.datasets.dataset.AbstractDataloader
transformer_rankers.datasets.dataset.QueryDocumentDataLoader
transformer_rankers.datasets.dataset.QueryDocumentDataset
transformer_rankers.datasets.dataset.T2TDataCollator
transformer_rankers.datasets.preprocess_crr
transformer_rankers.datasets.preprocess_crr.read_crr_tsv_as_df
transformer_rankers.datasets.preprocess_crr.transform_dstc8_to_tsv
transformer_rankers.datasets.preprocess_pr
transformer_rankers.datasets.preprocess_pr.transform_trec2020pr_to_dfs
transformer_rankers.datasets.preprocess_sqr
transformer_rankers.datasets.preprocess_sqr.transform_linkso_to_duplicates_dfs
transformer_rankers.datasets.preprocess_sqr.transform_quora_question_pairs_to_duplicates_dfs
transformer_rankers.eval
transformer_rankers.eval.evaluation
transformer_rankers.eval.evaluation.evaluate_models
transformer_rankers.eval.evaluation.recall_at_with_k_candidates
transformer_rankers.eval.results_analyses_tools
transformer_rankers.eval.results_analyses_tools.evaluate
transformer_rankers.eval.results_analyses_tools.evaluate_and_aggregate
transformer_rankers.examples
transformer_rankers.examples.crr_T5_ranker_example
transformer_rankers.examples.crr_T5_ranker_example.main
transformer_rankers.examples.crr_T5_ranker_example.run_experiment
transformer_rankers.examples.crr_bert_cross_task_cross_ns
transformer_rankers.examples.crr_bert_cross_task_cross_ns.main
transformer_rankers.examples.crr_bert_cross_task_cross_ns.run_experiment
transformer_rankers.examples.crr_bert_ranker_example
transformer_rankers.examples.crr_bert_ranker_example.main
transformer_rankers.examples.crr_bert_ranker_example.run_experiment
transformer_rankers.examples.crr_results_analyses_example
transformer_rankers.examples.crr_results_analyses_example.main
transformer_rankers.examples.negative_sampling_example
transformer_rankers.examples.negative_sampling_example.main
transformer_rankers.models
transformer_rankers.negative_samplers
transformer_rankers.negative_samplers.negative_sampling
transformer_rankers.negative_samplers.negative_sampling.BM25NegativeSamplerPyserini
transformer_rankers.negative_samplers.negative_sampling.RandomNegativeSampler
transformer_rankers.negative_samplers.negative_sampling.SentenceBERTNegativeSampler
transformer_rankers.scripts
transformer_rankers.scripts.aggregate_ensemble_files
transformer_rankers.scripts.aggregate_ensemble_files.main
transformer_rankers.scripts.analyze_uncertainty
transformer_rankers.scripts.analyze_uncertainty.main
transformer_rankers.scripts.preprocess_cqr_data
transformer_rankers.scripts.preprocess_cqr_data.main
transformer_rankers.scripts.preprocess_pr_datasets
transformer_rankers.scripts.preprocess_pr_datasets.main
transformer_rankers.scripts.preprocess_sqr_datasets
transformer_rankers.scripts.preprocess_sqr_datasets.main
transformer_rankers.scripts.preprocess_ubuntu_dstc8
transformer_rankers.scripts.preprocess_ubuntu_dstc8.main
transformer_rankers.scripts.select_ns_examples
transformer_rankers.scripts.select_ns_examples.main
transformer_rankers.scripts.train_sentenceBERT_crr
transformer_rankers.scripts.train_sentenceBERT_crr.main
transformer_rankers.scripts.train_sentenceBERT_crr.CRRBenchmarkDataReader
transformer_rankers.scripts.train_sentenceBERT_crr.CRRDataReader
transformer_rankers.trainers
transformer_rankers.trainers.transformer_trainer
transformer_rankers.trainers.transformer_trainer.TransformerTrainer
transformer_rankers.utils
transformer_rankers.utils.utils
transformer_rankers.utils.utils.acumulate_l1_by_l2
transformer_rankers.utils.utils.acumulate_list
transformer_rankers.utils.utils.acumulate_list_multiple_relevant
transformer_rankers.utils.utils.from_df_to_list_without_nans
Transformer-Rankers
»
transformer_rankers
»
transformer_rankers.examples
»
transformer_rankers.examples.crr_bert_cross_task_cross_ns
»
transformer_rankers.examples.crr_bert_cross_task_cross_ns.main
transformer_rankers.examples.crr_bert_cross_task_cross_ns.main
¶
transformer_rankers.examples.crr_bert_cross_task_cross_ns.
main
(
)
[source]
¶