Commit 54093417 authored by Mostofa Patwary's avatar Mostofa Patwary
Browse files

added pre ad post process

parent f9267205
......@@ -58,7 +58,8 @@ class IndexBuilder(object):
#model = get_model(lambda: biencoder_model_provider(only_context_model \
model = get_model(biencoder_model_provider(only_context_model \
= only_context_model, biencoder_shared_query_context_model = \
self.biencoder_shared_query_context_model))
self.biencoder_shared_query_context_model,
pre_process=True, post_process=True))
self.model = load_biencoder_checkpoint(model,
only_context_model=only_context_model)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment