Commit ·
e2b2b21
0
Parent(s):
Duplicate from bigcode/the-stack-smol-xs
Browse filesCo-authored-by: Loubna Ben Allal <loubnabnl@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +55 -0
- README.md +48 -0
- data/ada/data.json +0 -0
- data/agda/data.json +0 -0
- data/alloy/data.json +0 -0
- data/antlr/data.json +0 -0
- data/applescript/data.json +0 -0
- data/assembly/data.json +0 -0
- data/augeas/data.json +0 -0
- data/awk/data.json +0 -0
- data/batchfile/data.json +0 -0
- data/bison/data.json +0 -0
- data/bluespec/data.json +0 -0
- data/c++/data.json +0 -0
- data/c-sharp/data.json +0 -0
- data/c/data.json +0 -0
- data/clojure/data.json +0 -0
- data/cmake/data.json +0 -0
- data/coffeescript/data.json +0 -0
- data/common-lisp/data.json +0 -0
- data/css/data.json +0 -0
- data/cuda/data.json +0 -0
- data/dart/data.json +0 -0
- data/dockerfile/data.json +0 -0
- data/elixir/data.json +0 -0
- data/elm/data.json +0 -0
- data/emacs-lisp/data.json +0 -0
- data/erlang/data.json +0 -0
- data/f-sharp/data.json +0 -0
- data/fortran/data.json +0 -0
- data/glsl/data.json +0 -0
- data/go/data.json +0 -0
- data/groovy/data.json +0 -0
- data/haskell/data.json +0 -0
- data/html/data.json +0 -0
- data/idris/data.json +0 -0
- data/isabelle/data.json +0 -0
- data/java-server-pages/data.json +0 -0
- data/java/data.json +0 -0
- data/javascript/data.json +0 -0
- data/julia/data.json +0 -0
- data/kotlin/data.json +0 -0
- data/lean/data.json +0 -0
- data/literate-agda/data.json +0 -0
- data/literate-coffeescript/data.json +0 -0
- data/literate-haskell/data.json +0 -0
- data/lua/data.json +0 -0
- data/makefile/data.json +0 -0
- data/maple/data.json +0 -0
- data/markdown/data.json +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
# Audio files - uncompressed
|
| 37 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
# Audio files - compressed
|
| 41 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
# Image files - uncompressed
|
| 47 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
# Image files - compressed
|
| 52 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
data filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 100 random samples from the original dataset for visualization.
|
| 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 |
+
You can specify which language you want to load, python is loaded by default:
|
| 36 |
+
```python
|
| 37 |
+
# to load go:
|
| 38 |
+
from datasets import load_dataset
|
| 39 |
+
|
| 40 |
+
load_dataset("bigcode/the-stack-smol-xs", "go")
|
| 41 |
+
|
| 42 |
+
DatasetDict({
|
| 43 |
+
train: Dataset({
|
| 44 |
+
features: ['content', 'lang', 'size', 'ext', 'max_stars_count', 'avg_line_length', 'max_line_length', 'alphanum_fraction'],
|
| 45 |
+
num_rows: 100
|
| 46 |
+
})
|
| 47 |
+
})
|
| 48 |
+
```
|
data/ada/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/agda/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/alloy/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/antlr/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/applescript/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/assembly/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/augeas/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/awk/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/batchfile/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/bison/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/bluespec/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/c++/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/c-sharp/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/c/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/clojure/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/cmake/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/coffeescript/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/common-lisp/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/css/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/cuda/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/dart/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/dockerfile/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/elixir/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/elm/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/emacs-lisp/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/erlang/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/f-sharp/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/fortran/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/glsl/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/go/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/groovy/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/haskell/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/html/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/idris/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/isabelle/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/java-server-pages/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/java/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/javascript/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/julia/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/kotlin/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/lean/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/literate-agda/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/literate-coffeescript/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/literate-haskell/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/lua/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/makefile/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/maple/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/markdown/data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|