(path, *args, **kwargs)
| 2 | from os.path import dirname, isdir, join |
| 3 | |
| 4 | def 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) |
no outgoing calls
no test coverage detected