megatron.model.biencoder_model.biencoder_model_provider#
- megatron.model.biencoder_model.biencoder_model_provider(only_query_model=False, only_context_model=False, biencoder_shared_query_context_model=False, pre_process=True, post_process=True, model_type=None)#
Build the model.