crumb commited on
Commit
c14a7ae
·
verified ·
1 Parent(s): 17b7fdb

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -0
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ ---
4
+ # Functions-656K
5
+
6
+ six hundred fifty six thousand samples of code, annotated with input and output types as well as any dependencies or libraries required for their use. completely anonymized variables. i anonymized all the variables to sort of low-pass a bunch of high frequency features, a model of the space should be smoother to navigate.
7
+
8
+ 1105k files from the stack -> 1376k cleanly typed functions w/ dependencies -> variable names anonymized -> 656k de-duplicated w minhash+lsh<br>
9
+ licenses: check https://hf.co/datasets/bigcode/the-stack
10
+ <details>
11
+ <summary>filtering libraries:</summary>
12
+ use the following: <code>dataset.filter(lambda x: False not in [label in allowed_set for label in x['lib_used']])</code><br>
13
+ where <code>allowed_set</code> is a subset of this list, which is the master list of allowed libraries in the dataset:
14
+ <pre><code>
15
+ "math", "cmath", "random", "statistics", "fractions", "decimal", "numbers",
16
+ "itertools", "functools", "operator",
17
+ "collections", "array", "bisect", "heapq", "weakref", "enum", "typing",
18
+ "string", "re", "textwrap", "pprint", "reprlib", "difflib",
19
+ "hashlib", "hmac", "secrets", "base64", "binascii", "quopri", "uu",
20
+ "copy", "contextlib", "abc", "dataclasses", "warnings", "gc",
21
+ "datetime", "calendar",
22
+ "inspect", "traceback", "ast", "tokenize", "keyword", "dis", "sys",
23
+ "json", "csv", "marshal",
24
+ "uuid",
25
+ "numpy", "scipy", "sympy", "sklearn", "statsmodels", "xgboost", "tqdm",
26
+ "shapely", "PyWavelets", "z3", "cvxpy",<br>
27
+ "os", "io", "pathlib", "glob", "fnmatch", "linecache", "tempfile", "shutil",
28
+ "fileinput", "stat",
29
+ "pickle", "shelve", "dbm", "sqlite3",
30
+ "zipfile", "tarfile", "gzip", "bz2", "lzma", "zlib",
31
+ "configparser", "argparse", "getopt", "optparse", "logging", "getpass",
32
+ "profile", "cProfile", "pstats", "timeit", "tracemalloc", "faulthandler", "pdb",
33
+ "curses", "termios", "tty", "pty", "platform",
34
+ "plistlib", "netrc", "xdrlib", "mailbox", "mimetypes", "wave", "aifc",
35
+ "sndhdr", "imghdr", "colorsys", "chunk",
36
+ "sysconfig", "site", "resource",
37
+ "pandas", "matplotlib", "seaborn", "plotly", "torch", "tensorflow", "keras",
38
+ "gensim", "skimage", "PIL", "cv2", "nltk", "spacy", "dask", "polars",
39
+ "vaex", "h5py", "netCDF4", "xarray",
40
+ "Bio", "scikit-bio", "PyCogent",
41
+ "geopandas", "rasterio",
42
+ "rdkit", "openbabel", "pymatgen",
43
+ "astropy", "sunpy", "healpy",
44
+ "librosa",
45
+ "MDAnalysis", "OpenMM", "cartopy",<br>
46
+ "subprocess", "shlex",
47
+ "socket", "ssl", "select", "selectors", "asyncio", "socketserver",
48
+ "http", "urllib", "ftplib", "poplib", "imaplib", "smtplib", "telnetlib",
49
+ "xmlrpc", "webbrowser", "cgi", "cgitb", "wsgiref", "http.server",
50
+ "threading", "multiprocessing", "concurrent", "queue", "sched",
51
+ "contextvars", "signal", "mmap",
52
+ "importlib", "runpy", "code", "codeop",
53
+ "ctypes", "cffi", "msvcrt", "winreg", "winsound", "posix", "pwd", "spwd",
54
+ "grp", "crypt", "fcntl", "syslog", "pipes",
55
+ "email",
56
+ "ossaudiodev", "audioop",
57
+ "bdb", "trace",
58
+ "transformers", "datasets", "requests", "beautifulsoup4", "selenium",
59
+ "folium", "qiskit"
60
+ </code></pre>
61
+ </details>