Add GitHub subset
#8
by andstor - opened
Files changed (2)
- README.md+13
- the_pile.py+9-1
157 unmodified lines15815916016116216348 unmodified lines212213214215216217157 unmodified lines}```### Data Fields#### all48 unmodified lines- `meta` (str): Metadata of the data instance with: bibliographic_information, source_file, abstract, classifications,inventors.### Data SplitsThe "all" configuration is composed of 3 splits: train, validation and test.157 unmodified lines15815916016116216316416516616716816917017148 unmodified lines220221222223224225226227228229230157 unmodified lines}```#### github```{'text': "/* filesystem.c\n * Filesystem utility routines\n *\n * Wireshark - Network traffic analyzer\n * By Gerald Combs <gerald@wireshark.org>\n * Copyright 1998 Gerald Combs\n *\n * SPDX-License-Identifier: GPL-2.0-or-later\n */\n\n#include <config.h>\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <errno.h>\n\n#include <glib.h>...",'meta': "{'repo_name': 'wireshark/wireshark', 'stars': '2789', 'repo_language': 'C', 'file_name': 'packet-mpeg-audio-template.c', 'mime_type': 'text/x-c'}"}```### Data Fields#### all48 unmodified lines- `meta` (str): Metadata of the data instance with: bibliographic_information, source_file, abstract, classifications,inventors.#### github- `text` (str): Text.- `meta` (str): Metadata of the data instance with: repo_name, stars, repo_language, file_name, mime_type.### Data SplitsThe "all" configuration is composed of 3 splits: train, validation and test.
47 unmodified lines48495051525312 unmodified lines66676869707157 unmodified lines129130131132133134108 unmodified lines24324424524624724824947 unmodified lines"pubmed_central": "Unknown","ubuntu_irc": "Unknown","uspto": "Unknown",}_HOST_URL = "https://the-eye.eu"12 unmodified lines"pubmed_central": f"{_HOST_URL}/public/AI/pile_preliminary_components/PMC_extracts.tar.gz","ubuntu_irc": f"{_HOST_URL}/public/AI/pile_preliminary_components/ubuntu_irc_until_2020_9_1.jsonl.zst","uspto": f"{_HOST_URL}/public/AI/pile_preliminary_components/pile_uspto.tar",}_FEATURES = {57 unmodified lines"meta": datasets.Value("string"),}),}108 unmodified lines"meta": meta,}key += 1elif subset == "uspto":import zstandard as zstdfor path, file in files[subset]:47 unmodified lines4849505152535412 unmodified lines6768697071727357 unmodified lines131132133134135136137138139140141142108 unmodified lines25125225325425525625747 unmodified lines"pubmed_central": "Unknown","ubuntu_irc": "Unknown","uspto": "Unknown","github": "Unknown",}_HOST_URL = "https://the-eye.eu"12 unmodified lines"pubmed_central": f"{_HOST_URL}/public/AI/pile_preliminary_components/PMC_extracts.tar.gz","ubuntu_irc": f"{_HOST_URL}/public/AI/pile_preliminary_components/ubuntu_irc_until_2020_9_1.jsonl.zst","uspto": f"{_HOST_URL}/public/AI/pile_preliminary_components/pile_uspto.tar","github": f"{_HOST_URL}/public/AI/pile_preliminary_components/github.tar",}_FEATURES = {57 unmodified lines"meta": datasets.Value("string"),}),"github": datasets.Features({"text": datasets.Value("string"),"meta": datasets.Value("string"),}),}108 unmodified lines"meta": meta,}key += 1elif subset in {"uspto", "github"}:import zstandard as zstdfor path, file in files[subset]:
README.md+13
the_pile.py+9-1