DEFT2023 / test_dataset.py
qanastek's picture
Update test_dataset.py
f5fea4b
raw
history blame
353 Bytes
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)