burtenshaw's picture
burtenshaw HF Staff
Use Parquet for standard dataset integrations
5f9a4aa verified
|
Raw
History Blame Contribute Delete
1.14 kB
metadata
pretty_name: Environment Dataset Example
tags:
  - environment
  - harbor
  - verifiers
configs:
  - config_name: tasks
    data_files:
      - split: train
        path: data/train.parquet

Environment Dataset Example

This repository is an ordinary Hub dataset with one Dataset Viewer config named tasks. The environment.yaml file declares how environment clients should interpret that config and its associated files.

Once this repository is pushed to the Hub, the existing Use this dataset menu can generate standard loading snippets from the tasks config:

from datasets import load_dataset

tasks = load_dataset("burtenshaw/environment-dataset-example", "tasks", split="train")

Environment clients can download the declaration without a custom Hub API:

from huggingface_hub import hf_hub_download

manifest_path = hf_hub_download(
    repo_id="burtenshaw/environment-dataset-example",
    repo_type="dataset",
    filename="environment.yaml",
)

The equivalent raw URL is:

https://huggingface.co/datasets/burtenshaw/environment-dataset-example/resolve/main/environment.yaml