MCPcopy
hub / github.com/huggingface/datasets / load

Method load

src/datasets/search.py:93–95  ·  view source on GitHub ↗

Deserialize the index from disk

(cls, file: Union[str, PurePath])

Source from the content-addressed store, hash-verified

91
92 @classmethod
93 def load(cls, file: Union[str, PurePath]) -> "BaseIndex":
94 """Deserialize the index from disk"""
95 raise NotImplementedError
96
97
98class ElasticSearchIndex(BaseIndex):

Callers 15

from_directoryMethod · 0.45
write_to_directoryMethod · 0.45
from_directoryMethod · 0.45
load_from_diskMethod · 0.45
delete_from_hubFunction · 0.45
load_from_diskMethod · 0.45
get_moduleMethod · 0.45
get_moduleMethod · 0.45
get_moduleMethod · 0.45
load_faiss_indexMethod · 0.45
xnumpy_loadFunction · 0.45
decode_exampleMethod · 0.45

Calls

no outgoing calls