MCPcopy
hub / github.com/potamides/DeTikZify / load_dataset

Function load_dataset

detikzify/dataset/__init__.py:4–7  ·  view source on GitHub ↗
(path, *args, **kwargs)

Source from the content-addressed store, hash-verified

2from os.path import dirname, isdir, join
3
4def load_dataset(path, *args, **kwargs):
5 if isdir(local := join(dirname(__file__), path)):
6 return _load_dataset(local, *args, trust_remote_code=True, **kwargs)
7 return _load_dataset(path, *args, **kwargs)

Callers 8

train.pyFile · 0.90
pretrain.pyFile · 0.90
eval.pyFile · 0.85
sketchify.pyFile · 0.85
__init__Method · 0.85
sample_spiqa_datasetMethod · 0.85
train.pyFile · 0.85
pretrain.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected