Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -68,8 +68,31 @@ dataset_info:
|
|
68 |
---
|
69 |
# Dataset Card for "stack-smol-xxl"
|
70 |
|
71 |
-
|
|
|
|
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
```python
|
74 |
from datasets import load_dataset, Dataset
|
75 |
languages = ["css", "prolog", "c", "fortran", "solidity", "kotlin", "literate-agda", "julia", "java-server-pages",
|
|
|
68 |
---
|
69 |
# Dataset Card for "stack-smol-xxl"
|
70 |
|
71 |
+
## Dataset Structure
|
72 |
+
### Data Instances
|
73 |
+
Each data instance corresponds to one file. The content of the file is in the `content` feature, and other features (`repository_name`, `licenses`, etc.) provide some metadata. Note that a given file can appear in several different repositories that satisfy our safe-license criterion. If that is the case, only the first – in alphabetical order -- of these repositories is shown for simplicity.
|
74 |
|
75 |
+
### Data Fields
|
76 |
+
- `content` (string): the content of the file.
|
77 |
+
- `size` (integer): size of the uncompressed file.
|
78 |
+
- `lang` (string): the programming language.
|
79 |
+
- `ext` (string): file extension
|
80 |
+
- `avg_line_length` (float): the average line-length of the file.
|
81 |
+
- `max_line_length` (integer): the maximum line-length of the file.
|
82 |
+
- `alphanum_fraction` (float): the fraction of characters in the file that are alphabetical or numerical characters.
|
83 |
+
- `hexsha` (string): unique git hash of file
|
84 |
+
- `max_{stars|forks|issues}_repo_path` (string): path to file in repo containing this file with maximum number of `{stars|forks|issues}`
|
85 |
+
- `max_{stars|forks|issues}_repo_name` (string): name of repo containing this file with maximum number of `{stars|forks|issues}`
|
86 |
+
- `max_{stars|forks|issues}_repo_head_hexsha` (string): hexsha of repository head
|
87 |
+
- `max_{stars|forks|issues}_repo_licenses` (string): licenses in repository
|
88 |
+
- `max_{stars|forks|issues}_count` (integer): number of `{stars|forks|issues}` in repository
|
89 |
+
- `max_{stars|forks|issues}_repo_{stars|forks|issues}_min_datetime` (string): first timestamp of a `{stars|forks|issues}` event
|
90 |
+
- `max_{stars|forks|issues}_repo_{stars|forks|issues}_max_datetime` (string): last timestamp of a `{stars|forks|issues}` event
|
91 |
+
|
92 |
+
num_examples: 11658586
|
93 |
+
download_size: 28807934580
|
94 |
+
dataset_size: 78577965159
|
95 |
+
|
96 |
```python
|
97 |
from datasets import load_dataset, Dataset
|
98 |
languages = ["css", "prolog", "c", "fortran", "solidity", "kotlin", "literate-agda", "julia", "java-server-pages",
|