Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
annotations_creators: []
|
| 3 |
+
language_creators:
|
| 4 |
+
- crowdsourced
|
| 5 |
+
language: ["code"]
|
| 6 |
+
multilinguality:
|
| 7 |
+
- multilingual
|
| 8 |
+
size_categories:
|
| 9 |
+
- unknown
|
| 10 |
+
source_datasets: []
|
| 11 |
+
task_categories:
|
| 12 |
+
- text-generation
|
| 13 |
+
task_ids:
|
| 14 |
+
- language-modeling
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
## Dataset Description
|
| 18 |
+
A small subset of [the-stack](https://huggingface.co/datasets/bigcode/the-stack) dataset, with 87 programming languages, each has 10,000 random samples from the original dataset.
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
## Languages
|
| 22 |
+
|
| 23 |
+
The dataset contains 87 programming languages:
|
| 24 |
+
````
|
| 25 |
+
'ada', 'agda', 'alloy', 'antlr', 'applescript', 'assembly', 'augeas', 'awk', 'batchfile', 'bison', 'bluespec', 'c',
|
| 26 |
+
'c++', 'c-sharp', 'clojure', 'cmake', 'coffeescript', 'common-lisp', 'css', 'cuda', 'dart', 'dockerfile', 'elixir',
|
| 27 |
+
'elm', 'emacs-lisp','erlang', 'f-sharp', 'fortran', 'glsl', 'go', 'groovy', 'haskell','html', 'idris', 'isabelle', 'java',
|
| 28 |
+
'java-server-pages', 'javascript', 'julia', 'kotlin', 'lean', 'literate-agda', 'literate-coffeescript', 'literate-haskell',
|
| 29 |
+
'lua', 'makefile', 'maple', 'markdown', 'mathematica', 'matlab', 'ocaml', 'pascal', 'perl', 'php', 'powershell', 'prolog',
|
| 30 |
+
'protocol-buffer', 'python', 'r', 'racket', 'restructuredtext', 'rmarkdown', 'ruby', 'rust', 'sas', 'scala', 'scheme',
|
| 31 |
+
'shell', 'smalltalk', 'solidity', 'sparql', 'sql', 'stan', 'standard-ml', 'stata', 'systemverilog', 'tcl', 'tcsh', 'tex',
|
| 32 |
+
'thrift', 'typescript', 'verilog', 'vhdl', 'visual-basic', 'xslt', 'yacc', 'zig'
|
| 33 |
+
`````
|
| 34 |
+
## Dataset Structure
|
| 35 |
+
```python
|
| 36 |
+
# to load go:
|
| 37 |
+
from datasets import load_dataset
|
| 38 |
+
|
| 39 |
+
load_dataset("bigcode/the-stack-smol-xl", data_dir="data/go")
|
| 40 |
+
```
|