File size: 288 Bytes
823066d
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from datasets import load_dataset

dataset = load_dataset("./DEFT2020.py", data_dir="./DEFT2020_T1-T2/", name="task_1")
print(dataset)
print(dataset["test"][0])

dataset = load_dataset("./DEFT2020.py", data_dir="./DEFT2020_T1-T2/", name="task_2")
print(dataset)
print(dataset["test"][0])