Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Hugging Face course section 5 .zst datasets

You can use these datasets for whatever you want (note the Apache 2.0 license, though) but their primary purpose is to serve as a drop-in replacement for the sub-datasets of The Pile used in section 5 of the HuggingFace course.

Data sources

These are Kaggle datasets. So you need to be logged into a Kaggle account to download them from Kaggle. However, you actually don't need to download (and preprocess) them from Kaggle – you can just use them as shown in the following Usage section.

Usage

To load a dataset from this repo, run

import zstandard
from datasets import load_dataset
load_dataset("json", data_files=url, split="train")

where url should be one of the following download links:

Example:

import zstandard
from datasets import load_dataset
url = "https://huggingface.co/datasets/mdroth/PubMed-200k-RTC/resolve/main/data/LegalText-classification_train_min.jsonl.zst"
load_dataset("json", data_files=url, split="train")
Downloads last month
20