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.

Dataset Card for The Pile GitHub

Dataset Summary

This is the GitHub subset of EleutherAi/The Pile dataset and contains GitHub repositories. The programming languages are identified using the guesslang library. A total of 54 programming languages are included in the dataset.

Supported Tasks and Leaderboards

[More Information Needed]

Languages

The following languages are covered by the dataset:

'Assembly', 'Batchfile', 'C', 'C#', 'C++', 'CMake', 'COBOL', 'CSS', 'CSV', 'Clojure', 'CoffeeScript', 'DM', 'Dart', 'Dockerfile', 'Elixir', 'Erlang', 'Fortran', 'Go', 'Groovy', 'HTML', 'Haskell', 'INI', 'JSON', 'Java', 'JavaScript', 'Julia', 'Kotlin', 'Lisp', 'Lua', 'Makefile', 'Markdown', 'Matlab', 'None', 'OCaml', 'Objective-C', 'PHP', 'Pascal', 'Perl', 'PowerShell', 'Prolog', 'Python', 'R', 'Ruby', 'Rust', 'SQL', 'Scala', 'Shell', 'Swift', 'TOML', 'TeX', 'TypeScript', 'Verilog', 'Visual Basic', 'XML', 'YAML'

The guesslang library is used to identify the programming languages. It has a guessing accuracy of above 90%. Hence, there will be some misclassifications in the language identification.

Dataset Structure

Data Instances

[More Information Needed]

{
  'text': ...,
  'meta': {'language': ...}
}

Data Fields

  • text (string): the source code.
  • meta (dict): the metadata of the source code.
    • language (string): the programming language of the source code.

Data Splits

[More Information Needed]

train validation test
Input Sentences
Average Sentence Length

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

The data is purely a subset of the EleutherAI/The Pile dataset. See the original dataset for more details.

Additional Information

Licensing Information

The Pile dataset was released on January 1st, 2021. It is licensed under the MIT License. See the dataset for more details.

Citation Information

Provide the BibTex-formatted reference for the dataset. For example:

@article{pile,
    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},
    year={2020}
}

Contributions

Thanks to @andstor for adding this dataset.

Downloads last month
329

Models trained or fine-tuned on andstor/the_pile_github

Papers for andstor/the_pile_github