FrenchMedMCQA / test_dataset.py
qanastek's picture
Update test_dataset.py
ecd170c
raw
history blame contribute delete
360 Bytes
from datasets import load_dataset
dataset = load_dataset("./FrenchMedMCQA.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)