CG2RealDataset / save_dataset.py
Alexandre Lordelo
Add CG2RealDataset4 dataset
54d2a42
raw
history blame contribute delete
460 Bytes
from datasets import load_dataset
# Load the dataset (assuming you've already run load_dataset.py)
dataset = load_dataset('csv', data_files={'train': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/train.csv', 'test': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/test.csv', 'validation': '/Users/alexandrelordelo/Desktop/CG2RealDataset4/validation.csv'})
# Save the dataset to disk
dataset.save_to_disk("/Users/alexandrelordelo/Desktop/CG2RealDataset4")