datatrove-tests / README.md
hynky's picture
hynky HF staff
Upload dataset
6b1324e verified
|
raw
history blame contribute delete
No virus
813 Bytes
metadata
dataset_info:
  - config_name: sharding-1
    features:
      - name: text
        dtype: string
    splits:
      - name: train
        num_bytes: 39
        num_examples: 5
    download_size: 769
    dataset_size: 39
  - config_name: sharding-3
    features:
      - name: text
        dtype: string
    splits:
      - name: train
        num_bytes: 39
        num_examples: 5
    download_size: 2238
    dataset_size: 39
configs:
  - config_name: sharding-1
    data_files:
      - split: train
        path: sharding-1/train-*
  - config_name: sharding-3
    data_files:
      - split: train
        path: sharding-3/train-*

Datasets used for datatrove testing. Each split contains the same data:

dst = [
    {"text": "hello"},
    {"text": "world"},
    {"text": "how"},
    {"text": "are"},
    {"text": "you"},
]

But based on the split name the data are sharded into n-bins