Dataset Preview
Go to dataset viewer
The dataset preview is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    FileNotFoundError
Message:      [Errno 2] No such file or directory: 'tar:/out::https:/'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/responses/", line 337, in get_first_rows_response
                  rows = get_rows(dataset, config, split, streaming=True, rows_max_number=rows_max_number, hf_token=hf_token)
                File "/src/services/worker/src/worker/", line 123, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/responses/", line 65, in get_rows
                  ds = load_dataset(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 1739, in load_dataset
                  return builder_instance.as_streaming_dataset(split=split)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 1025, in as_streaming_dataset
                  splits_generators = { sg for sg in self._split_generators(dl_manager)}
                File "/tmp/modules-cache/datasets_modules/datasets/the_pile_stack_exchange/c37929101b28d2627dfe90aa857f1ec29cbfc88d10def845507f18c481aaece1/", line 62, in _split_generators
                  zips = [str(f) for f in (Path(dl_dir) / "out").iterdir()]
                File "/tmp/modules-cache/datasets_modules/datasets/the_pile_stack_exchange/c37929101b28d2627dfe90aa857f1ec29cbfc88d10def845507f18c481aaece1/", line 62, in <listcomp>
                  zips = [str(f) for f in (Path(dl_dir) / "out").iterdir()]
                File "/usr/local/lib/python3.9/", line 1150, in iterdir
                  for name in self._accessor.listdir(self):
              FileNotFoundError: [Errno 2] No such file or directory: 'tar:/out::https:/'

Need help to make the dataset viewer work? Open an discussion for direct support.

Dataset Card for Stack Exchange

Dataset Summary

This dataset is part of EleutherAI/The Pile dataset and is a dataset for Language Models from processing stackexchange data dump, which is an anonymized dump of all user-contributed content on the Stack Exchange network.

|download_size|34.28 Gib| |dataset_size|10.3 Gib|

Supported Tasks and Leaderboards

The dataset is used for Language Modeling.


The dataset is in English.

Dataset Structure

Data Instances

{'domain': 'chemistry',
'text':"\nQ:                                                                                                                                            \n                                                                                                                                              \nReviving old questions or asking a new one?                                                                                                   \n                                                                                                                                              \nI'm relatively new to the Chemistry SE community, and sometimes when I go to ask a question, I notice that the same (or similar) question has \nalready been asked. However, the previous question doesn't have a good answer (or is unanswered). In this case, is it better to ask the questi\non again in a new post (which might be marked as duplicate) or comment on the old post (which might be several years old)? In other words, wha\nt are the customs of this site in regards to reviving old questions/discussions?\n\nA:\n\nAs Martin commented, it really depends on the type of question. In any case, you always have the following possibilities:\n\nAsk a new question\nEdit the question to bump it to the first page\nAdd a bounty\nBring it to the attention of people in chat\n\nConsider the following cases:\n\nI have exactly the same question as asked and unanswered before!\n\nIf you ask a new question which turns out to be the same question, it may be closed as a dupe (depending on whether users remember the old que\nstion). Not the ideal option.\nIf you can find something substantial to edit and bump the question, do so. Maybe add a comment that you would really love an answer.\nIf you can spare some rep for a bounty (50 is usually enough), do so.\nYou can always bring it to the attention of people in chat.\n",}

Data Fields

  • domain: Stack Exchange domain of the sample
  • text: Text content containing both the question and the answer

Data Splits

|split|num examples|


Dataset Creation

Curation Rationale

[Needs More Information]

Source Data

Initial Data Collection and Normalization

[Needs More Information]

Who are the source language producers?

[Needs More Information]


Annotation process

[Needs More Information]

Who are the annotators?

[Needs More Information]

Personal and Sensitive Information

[Needs More Information]

Considerations for Using the Data

Social Impact of Dataset

[Needs More Information]

Discussion of Biases

[Needs More Information]

Other Known Limitations

[Needs More Information]

Additional Information

Dataset Curators

[Needs More Information]

Licensing Information

[Needs More Information]

Citation Information

    title={The {P}ile: An 800GB Dataset of Diverse Text for Language Modeling},
    author={Gao, Leo and Biderman, Stella and Black, Sid and Golding, Laurence and Hoppe, Travis and Foster, Charles and Phang, Jason and He, Horace and Thite, Anish and Nabeshima, Noa and Presser, Shawn and Leahy, Connor},
    journal={arXiv preprint arXiv:2101.00027},


Thanks to sdtblck for creating the dataset. Thanks to richarddwang for adding the dataset.

Edit dataset card
Evaluate models HF Leaderboard