中文简介
codeparrot/github-code 是 codeparrot 在 Hugging Face 发布的数据集仓库,当前卡片主要关联文本生成与推理。本站固定记录上游版本 b5661e6b1739,同步到 1132 个文件,文件元数据合计 623.89 GB;访问状态为“公开”,许可证字段为“other”。
上游模型卡 / 数据集卡
【README 卡片中文译介】
以下内容依据上游仓库 codeparrot/github-code 的固定版本 README、卡片字段和文件元数据进行中文结构化整理。它保留便于选型的关键信息,完整技术细节、代码示例和许可文本请同时查看上游原文。
【资源概览】
codeparrot/github-code 是 codeparrot 在 Hugging Face 发布的数据集仓库,当前卡片主要关联文本生成与推理。本站固定记录上游版本 b5661e6b1739,同步到 1132 个文件,文件元数据合计 623.89 GB;访问状态为“公开”,许可证字段为“other”。
【适用方向】
适合评估代码生成、仓库级理解、软件工程智能体和开发辅助流程。 正式使用前应先抽样检查字段、语言、重复项、敏感信息和训练/测试划分,避免只依据仓库名称判断数据质量。
【版本与规格】
固定版本:b5661e6b1739。 任务标签:文本生成与推理。 语言字段:code。 数据集卡名称:github-code。 规模分类:unknown。 上游页面记录的最近更新时间:2022-10-20。
【文件信息】
上游 API 返回 1132 个文件,文件元数据合计 623.89 GB。 已保存文件清单中的主要扩展名:.parquet 99 个、无扩展名 1 个。 当前较大的文件包括:data/train-00093-of-01126.parquet(281.55 MB);data/train-00041-of-01126.parquet(281.24 MB);data/train-00015-of-01126.parquet(281.22 MB)。 仓库文件较多,本站仅保存前 100 条文件元数据;完整清单请查看上游仓库。
【运行或处理环境】
仓库文件元数据合计 623.89 GB。仅按下载、解压和临时文件估算,建议至少预留约 748.66 GB 可用磁盘;实际需求还取决于压缩率、缓存、数据转换和训练副本,正式处理前应以完整文件清单重新测算。
【使用边界】
许可证显示为“other”,具体用途限制、附加政策和归属要求仍以上游原文为准。 数据集还需核对样本来源、隐私与个人信息、标签质量、地域偏差及下游模型的合规要求。
GitHub Code Dataset Dataset Description The GitHub Code dataset consists of 115M code files from GitHub in 32 programming languages with 60 extensions totaling in 1TB of data. The dataset was created from the public GitHub dataset on Google BiqQuery. How to use it The GitHub Code dataset is a very large dataset so for most use cases it is recommended to make use of the streaming API of `datasets`. You can load and iterate through the dataset with the following two lines of code: You can see that besides the code, repo name, and path also the programming language, license, and the size of the file are part of the dataset. You can also filter the dataset for any subset of the 30 included languages (see the full list below) in the dataset. Just pass the list of languages as a list. E.g. if your dream is to build a Codex model for Dockerfiles use the following configuration: We also have access to the license of the origin repo of a file so we can filter for licenses in the same way we filtered for languages: Naturally, you can also download the full dataset. Note that this will download ~300GB compressed text data and the uncompressed dataset will take up ~1TB of storage: Data Structure Data Instances Data Fields |Field|Type|Description| |---|---|---| |code|string|content of source file| |repo_name|string|name of the GitHub repository| |path|string|path of file in GitHub repository| |language|string|programming language as inferred by extension| |license|string|license of GitHub repository| |size|int|size of source file in bytes| Data Splits The dataset only contains a train split. Languages The dataset contains 30 programming languages with over 60 extensions: Licenses Each example is also annotated with the license of the associated repository. There are in total 15 licenses: Dataset Statistics The dataset contains 115M files and the sum of all the source code file sizes is 873 GB (note that the size of the dataset is larger due to the extra fields). A breakdown per
适用场景
适合评估代码生成、仓库级理解、软件工程智能体和开发辅助流程。 正式使用前应先抽样检查字段、语言、重复项、敏感信息和训练/测试划分,避免只依据仓库名称判断数据质量。
规模与格式
固定版本:b5661e6b1739。 任务标签:文本生成与推理。 语言字段:code。 数据集卡名称:github-code。 规模分类:unknown。 上游页面记录的最近更新时间:2022-10-20。
文件说明
上游 API 返回 1132 个文件,文件元数据合计 623.89 GB。 已保存文件清单中的主要扩展名:.parquet 99 个、无扩展名 1 个。 当前较大的文件包括:data/train-00093-of-01126.parquet(281.55 MB);data/train-00041-of-01126.parquet(281.24 MB);data/train-00015-of-01126.parquet(281.22 MB)。 仓库文件较多,本站仅保存前 100 条文件元数据;完整清单请查看上游仓库。
上游文件元数据
.gitattributes1.53 KBdata/train-00000-of-01126.parquet272.60 MBdata/train-00001-of-01126.parquet275.47 MBdata/train-00002-of-01126.parquet277.29 MBdata/train-00003-of-01126.parquet273.34 MBdata/train-00004-of-01126.parquet277.12 MBdata/train-00005-of-01126.parquet274.86 MBdata/train-00006-of-01126.parquet276.03 MBdata/train-00007-of-01126.parquet274.76 MBdata/train-00008-of-01126.parquet274.44 MBdata/train-00009-of-01126.parquet275.24 MBdata/train-00010-of-01126.parquet273.54 MB
硬件建议
仓库文件元数据合计 623.89 GB。仅按下载、解压和临时文件估算,建议至少预留约 748.66 GB 可用磁盘;实际需求还取决于压缩率、缓存、数据转换和训练副本,正式处理前应以完整文件清单重新测算。
注意事项
许可证显示为“other”,具体用途限制、附加政策和归属要求仍以上游原文为准。 数据集还需核对样本来源、隐私与个人信息、标签质量、地域偏差及下游模型的合规要求。
获取、校验与交付
咨询此资源时只需发送本页链接或资源准确全称。橙子AI科技会继续核对版本、文件与类型、README资料卡、许可证和访问条件,并在合法访问权限、许可证及平台规则允许的前提下,协助海内外下载、完整性校验及网盘或硬盘交付;本官网本身不托管或下载资源文件。
本页面为橙子AI科技基于固定版本上游卡片整理的中文信息与服务说明,不代表资源作者或平台官方页面。实际许可、访问和使用条件以上游原文为准。