danish-dynaword / scripts /load_dataset.py
KennethEnevoldsen's picture
Added metadat
7d78f79 unverified
raw
history blame
179 Bytes
from datasets import load_dataset
name = "danish-foundation-models/danish-gigaword"
ds = load_dataset(name, split = "train", streaming=True)
sample = next(iter(ds))
print(sample)