loubnabnl HF staff commited on
Commit
06ad5f8
1 Parent(s): b8c07f5

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -0
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
+ yYu 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
+ ```