#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
from datasets import load_dataset | |
dataset = load_dataset( | |
"sentence_pair.py", | |
name="diac2019", | |
# split="validation", | |
) | |
print(dataset) | |
for sample in dataset: | |
print(sample) | |
if __name__ == '__main__': | |
pass | |