dpr_util#

Functions

queries_to_vectors

param tokenizer

a RagTokenizer (the question_encoder will be used) or a DPRQuestionEncoderTokenizer

tokenize_queries

param tokenizer

a RagTokenizer (the question_encoder will be used) or a DPRQuestionEncoderTokenizer

Classes

DPROptions