MCPcopy Create free account
hub / github.com/BeastyZ/ConvSearch-R1 / main

Function main

src/eval/get_metrics_using_ance.py:293–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

291
292
293def main():
294 args = get_args()
295 set_seed(args)
296 index = build_faiss_index(args)
297 query_embeddings, query_embedding2id = get_test_query_embedding(args)
298 gen_metric_score_and_save(args, index, query_embeddings, query_embedding2id)
299 logger.info("Test finish!")
300
301
302def get_args():

Callers 1

Calls 5

get_test_query_embeddingFunction · 0.85
get_argsFunction · 0.70
set_seedFunction · 0.70
build_faiss_indexFunction · 0.70

Tested by

no test coverage detected