|
--- |
|
extra_gated_prompt: '## 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: |
|
|
|
1. 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. |
|
|
|
2. 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](https://huggingface.co/datasets/bigcode/the-stack/discussions/7). |
|
If you have questions about dataset versions and allowed uses, please also ask them |
|
in the dataset’s [community discussions](https://huggingface.co/datasets/bigcode/the-stack/discussions/new). |
|
We will also notify users via email when the latest usable version changes. |
|
|
|
3. To host, share, or otherwise provide access to The Stack dataset, you must include |
|
[these Terms of Use](https://huggingface.co/datasets/bigcode/the-stack#terms-of-use-for-the-stack) |
|
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.' |
|
extra_gated_fields: |
|
Email: text |
|
I have read the License and agree with its terms: checkbox |
|
dataset_info: |
|
features: |
|
- name: hexsha |
|
dtype: string |
|
- name: size |
|
dtype: int64 |
|
- name: ext |
|
dtype: string |
|
- name: lang |
|
dtype: string |
|
- name: max_stars_repo_path |
|
dtype: string |
|
- name: max_stars_repo_name |
|
dtype: string |
|
- name: max_stars_repo_head_hexsha |
|
dtype: string |
|
- name: max_stars_repo_licenses |
|
sequence: string |
|
- name: max_stars_count |
|
dtype: float64 |
|
- name: max_stars_repo_stars_event_min_datetime |
|
dtype: string |
|
- name: max_stars_repo_stars_event_max_datetime |
|
dtype: string |
|
- name: max_issues_repo_path |
|
dtype: string |
|
- name: max_issues_repo_name |
|
dtype: string |
|
- name: max_issues_repo_head_hexsha |
|
dtype: string |
|
- name: max_issues_repo_licenses |
|
sequence: string |
|
- name: max_issues_count |
|
dtype: float64 |
|
- name: max_issues_repo_issues_event_min_datetime |
|
dtype: string |
|
- name: max_issues_repo_issues_event_max_datetime |
|
dtype: string |
|
- name: max_forks_repo_path |
|
dtype: string |
|
- name: max_forks_repo_name |
|
dtype: string |
|
- name: max_forks_repo_head_hexsha |
|
dtype: string |
|
- name: max_forks_repo_licenses |
|
sequence: string |
|
- name: max_forks_count |
|
dtype: float64 |
|
- name: max_forks_repo_forks_event_min_datetime |
|
dtype: string |
|
- name: max_forks_repo_forks_event_max_datetime |
|
dtype: string |
|
- name: content |
|
dtype: string |
|
- name: avg_line_length |
|
dtype: float64 |
|
- name: max_line_length |
|
dtype: int64 |
|
- name: alphanum_fraction |
|
dtype: float64 |
|
splits: |
|
- name: train |
|
num_bytes: 34123758528 |
|
num_examples: 10184204 |
|
download_size: 13845884338 |
|
dataset_size: 34123758528 |
|
configs: |
|
- config_name: default |
|
data_files: |
|
- split: train |
|
path: data/train-* |
|
--- |
|
|
|
# Dataset Card for "the-stack-ts" |
|
|
|
This is a subset of the TypeScript portion of [The Stack (dedup)](https://huggingface.co/datasets/bigcode/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. | |