CM/codexglue_code2text_python
收藏Hugging Face2023-04-22 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/CM/codexglue_code2text_python
下载链接
链接失效反馈官方服务:
资源简介:
---
dataset_info:
features:
- name: id
dtype: int32
- name: repo
dtype: string
- name: path
dtype: string
- name: func_name
dtype: string
- name: original_string
dtype: string
- name: language
dtype: string
- name: code
dtype: string
- name: code_tokens
sequence: string
- name: docstring
dtype: string
- name: docstring_tokens
sequence: string
- name: sha
dtype: string
- name: url
dtype: string
splits:
- name: train
num_bytes: 813663148
num_examples: 251820
- name: validation
num_bytes: 46888564
num_examples: 13914
- name: test
num_bytes: 50659688
num_examples: 14918
download_size: 325303743
dataset_size: 911211400
---
# Dataset Card for "codexglue_code2text_python"
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
---
数据集信息:
特征列表:
- 字段名:id,数据类型:int32
- 字段名:repo,数据类型:字符串
- 字段名:path,数据类型:字符串
- 字段名:func_name,数据类型:字符串
- 字段名:original_string,数据类型:字符串
- 字段名:language,数据类型:字符串
- 字段名:code,数据类型:字符串
- 字段名:code_tokens,数据类型:代码Token序列
- 字段名:docstring,数据类型:文档字符串(docstring)
- 字段名:docstring_tokens,数据类型:文档字符串Token序列
- 字段名:sha,数据类型:字符串
- 字段名:url,数据类型:字符串
划分集:
- 划分名称:训练集(train),字节大小:813663148,样本数量:251820
- 划分名称:验证集(validation),字节大小:46888564,样本数量:13914
- 划分名称:测试集(test),字节大小:50659688,样本数量:14918
下载大小:325303743
总数据集大小:911211400
---
# 「codexglue_code2text_python」数据集卡片
[需补充更多信息](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
提供机构:
CM原始信息汇总
数据集概述
数据集名称
- 名称: codexglue_code2text_python
数据特征
- id: int32
- repo: string
- path: string
- func_name: string
- original_string: string
- language: string
- code: string
- code_tokens: sequence of string
- docstring: string
- docstring_tokens: sequence of string
- sha: string
- url: string
数据分割
- 训练集:
- 大小: 813663148字节
- 示例数: 251820
- 验证集:
- 大小: 46888564字节
- 示例数: 13914
- 测试集:
- 大小: 50659688字节
- 示例数: 14918
数据集大小
- 下载大小: 325303743字节
- 总大小: 911211400字节
搜集汇总
数据集介绍

背景与挑战
背景概述
该数据集是一个用于代码到文本生成任务的Python代码数据集,包含约28万行数据,涵盖代码函数和对应的文档字符串。它适用于训练模型从代码生成自然语言描述,例如代码摘要或注释生成,属于CodeXGLUE基准的一部分。
以上内容由遇见数据集搜集并总结生成



