Compliance / load_dataset.py
Lexim011's picture
Upload load_dataset.py
7a36401 verified
raw
history blame contribute delete
256 Bytes
from datasets import load_dataset
# Load your local CSV dataset
dataset = load_dataset('csv', data_files='/Users/airalex/Documents/LLM/CCI_Details_Structured_Full.csv')
# Print out the first example to understand the structure
print(dataset['train'][0])