MCPcopy Create free account
hub / github.com/LUMIA-Group/MemoryDecoder / get_index_path

Function get_index_path

knn_utils/saveEmbedMulti.py:497–498  ·  view source on GitHub ↗
(dstore_dir, model_type, eval_subset, dimension)

Source from the content-addressed store, hash-verified

495 return f'{dstore_dir}/dstore_{model_type}_{eval_subset}_{dimension}.arrow'
496
497def get_index_path(dstore_dir, model_type, eval_subset, dimension):
498 return f'{dstore_dir}/index_{model_type}_{eval_subset}_{dimension}.index'
499
500def get_result_path(dstore_dir, model_type, dstore_size, dimension):
501 return f'{dstore_dir}/test_retrieve_result(no_recompute).pickle'

Callers 1

build_indexMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected