code_x_glue_cc_code_refinement

Références :

moyen

Utilisez la commande suivante pour charger cet ensemble de données dans TFDS :

ds = tfds.load('huggingface:code_x_glue_cc_code_refinement/medium')
  • Description :
CodeXGLUE code-refinement dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/code-refinement

We use the dataset released by this paper(https://arxiv.org/pdf/1812.08693.pdf). The source side is a Java function with bugs and the target side is the refined one. All the function and variable names are normalized. Their dataset contains two subsets ( i.e.small and medium) based on the function length.
  • Licence : Aucune licence connue
  • Version : 0.0.0
  • Divisions :
Diviser Exemples
'test' 6545
'train' 52364
'validation' 6546
  • Caractéristiques :
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "buggy": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "fixed": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

petit

Utilisez la commande suivante pour charger cet ensemble de données dans TFDS :

ds = tfds.load('huggingface:code_x_glue_cc_code_refinement/small')
  • Description :
CodeXGLUE code-refinement dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/code-refinement

We use the dataset released by this paper(https://arxiv.org/pdf/1812.08693.pdf). The source side is a Java function with bugs and the target side is the refined one. All the function and variable names are normalized. Their dataset contains two subsets ( i.e.small and medium) based on the function length.
  • Licence : Aucune licence connue
  • Version : 0.0.0
  • Divisions :
Diviser Exemples
'test' 5835
'train' 46680
'validation' 5835
  • Caractéristiques :
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "buggy": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "fixed": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}