File size: 277 Bytes
bd90170 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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)
|