google/code_x_glue_cc_code_completion_line
收藏资源简介:
CodeXGLUE CodeCompletion-line数据集用于测试模型在给定上下文的情况下补全未完成代码行的能力。该任务旨在评估模型在生成整个代码行时的表现,而不仅仅是单个令牌的补全。数据集支持Java和Python编程语言,包含训练集和开发集,训练集分别包含3000个Java样本和10000个Python样本。数据集的创建者包括微软和madlag,采用C-UDA许可证。
The CodeXGLUE CodeCompletion-line dataset is designed to test a model's ability to complete an unfinished code line given its surrounding context. This task aims to evaluate a model's performance when generating an entire code line, rather than just completing individual tokens. This dataset supports the Java and Python programming languages, and includes both training and development splits. The training splits contain 3000 Java samples and 10000 Python samples respectively. The dataset was developed by Microsoft and madlag, and is released under the C-UDA license.
数据集概述
名称: CodeXGlueCcCodeCompletionLine
语言:
- Java
- Python
许可证: C-UDA
多语言性: 单语种
大小:
- 1K<n<10K (Java)
- n<1K (Python)
源数据: 原始数据
任务类别:
- 文本生成
- 填充掩码
任务ID:
- 槽填充
配置名称:
- Java
- Python
数据集结构
数据实例
-
Java:
- 训练集: 3000个样本
- 数据字段:
- id: int32
- input: string
- gt: string
-
Python:
- 训练集: 10000个样本
- 数据字段:
- id: int32
- input: string
- gt: string
数据字段
| 字段名 | 类型 | 描述 |
|---|---|---|
| id | int32 | 样本索引 |
| input | string | 输入代码字符串 |
| gt | string | 待预测的代码字符串 |
数据分割
| 名称 | 训练集大小 |
|---|---|
| Java | 3000 |
| Python | 10000 |
许可证信息
- 许可证: 计算数据使用协议(C-UDA)许可证。




