File size: 353 Bytes
3f8781c
 
f5fea4b
3f8781c
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from datasets import load_dataset

dataset = load_dataset("DEFT2023.py")

print("#"*50)
print(dataset)
print("#"*50)
print(dataset["train"])
print("#"*50)
print(dataset["train"][0])
print("#"*50)

print(dataset["train"].features["number_correct_answers"].names)

label_list = dataset["train"].features["correct_answers"].feature.names
print(label_list)