Huggingface: Difference between revisions

Jump to navigation Jump to search
m
Line 88: Line 88:
  os.environ['HF_DATASETS_OFFLINE'] = '1'
  os.environ['HF_DATASETS_OFFLINE'] = '1'
  from datasets import load_dataset
  from datasets import load_dataset
  dataset = load_dataset('name_of_the_loading_script', cache_dir="/path/to/where/dataset/is/saved")
  dataset = load_dataset("/path/to/loading_script/of/the/dataset")
cc_staff
282

edits

Navigation menu