MORFITT / test_dataset.py
qanastek's picture
Upload 2 files
bd90170
raw
history blame
277 Bytes
from datasets import load_dataset
dataset = load_dataset("morfitt.py")
print("#"*50)
print(dataset)
print("#"*50)
print(dataset["train"])
print("#"*50)
print(dataset["train"][0])
print("#"*50)
label_list = dataset["train"].features["labels"].feature.names
print(label_list)