Attend the Women in ML Symposium on December 7 Register now

code_x_glue_cc_code_to_code_trans

参考:

使用以下命令在 TFDS 中加载此数据集:

ds = tfds.load('huggingface:code_x_glue_cc_code_to_code_trans')
  • 说明
CodeXGLUE code-to-code-trans dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/code-to-code-trans

The dataset is collected from several public repos, including Lucene(http://lucene.apache.org/), POI(http://poi.apache.org/), JGit(https://github.com/eclipse/jgit/) and Antlr(https://github.com/antlr/).
        We collect both the Java and C# versions of the codes and find the parallel functions. After removing duplicates and functions with the empty body, we split the whole dataset into training, validation and test sets.
  • 许可:无已知许可
  • 版本:0.0.0
  • 拆分
拆分 样本
'test' 1000
'train' 10300
'validation' 500
  • 特征
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "java": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "cs": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}