You need to agree to share your contact information to access this dataset
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
Terms of Use for The Stack
The Stack dataset is a collection of source code in over 300 programming languages. We ask that you read and acknowledge the following points before using the dataset:
- The Stack is a collection of source code from repositories with various licenses. Any use of all or part of the code gathered in The Stack must abide by the terms of the original licenses, including attribution clauses when relevant. We facilitate this by providing provenance information for each data point.
- The Stack is regularly updated to enact validated data removal requests. By clicking on "Access repository", you agree to update your own version of The Stack to the most recent usable version specified by the maintainers in the following thread. If you have questions about dataset versions and allowed uses, please also ask them in the dataset’s community discussions. We will also notify users via email when the latest usable version changes.
- To host, share, or otherwise provide access to The Stack dataset, you must include these Terms of Use and require users to agree to it.
By clicking on "Access repository" below, you accept that your contact information (email address and username) can be shared with the dataset maintainers as well.
Log in or Sign Up to review the conditions and access this dataset content.
Dataset Card for "the-stack-ts"
This is a subset of the TypeScript portion of The Stack (dedup), uploaded to Hugging Face Hub.
The Stack includes "TypeScript" files that are not actually TypeScript, or do not parse. This dataset is filtered to ensure that every example is syntactically valid TypeScript.
Versions
The default version (main
) is the same as parses
.
Version | Description |
---|---|
parses |
The TypeScript subset of The Stack where each example parses. Contains roughly 10.2M examples. |
typechecks |
The TypeScript subset of The Stack where each example type checks. Contains roughly 1.1M examples. |
parse-typecheck |
Examples that parse and type check. Includes additional metrics, e.g. annotation sites, type definitions, LOC, functions, LOC per function, tokens. Contains roughly 1.1M examples. |
- Downloads last month
- 34