MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / download

Method download

test/general/lm_eval/tasks/json.py:46–47  ·  view source on GitHub ↗
(self, data_dir=None, cache_dir=None, download_mode=None)

Source from the content-addressed store, hash-verified

44 self._fewshot_docs = None
45
46 def download(self, data_dir=None, cache_dir=None, download_mode=None):
47 raise TypeError("cannot download an arbitrary JSON dataset")
48
49 def load(self, data_file):
50 self.dataset = datasets.load_dataset("json", data_files=data_file)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected