File size: 290 Bytes
f9931f1
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from datasets import load_from_disk

# Load the dataset
dataset_dict = load_from_disk('tech_quotes_dataset')

# Access the train and test splits
train_dataset = dataset_dict['train']
test_dataset = dataset_dict['test']

# Print some samples
print(train_dataset[:5])
print(test_dataset[:5])