cppe-5 / main.py
晴耕雨读
[update]add dataset.tar.gz to speed up download
6698026
Raw
History Blame Contribute Delete
328 Bytes
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from datasets import load_dataset
dataset = load_dataset(
# "qgyd2021/cppe-5",
"cppe-5.py",
name=None,
split="train",
streaming=True
)
for sample in dataset:
print(sample)
# image = sample["image"]
# image.show()
if __name__ == '__main__':
pass