कोड_x_ग्लू_सीसी_क्लोन_डिटेक्शन_बिग_क्लोन_बेंच

सन्दर्भ:

इस डेटासेट को TFDS में लोड करने के लिए निम्न कमांड का उपयोग करें:

ds = tfds.load('huggingface:code_x_glue_cc_clone_detection_big_clone_bench')
  • विवरण :
CodeXGLUE Clone-detection-BigCloneBench dataset, available at https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/Clone-detection-BigCloneBench

Given two codes as the input, the task is to do binary classification (0/1), where 1 stands for semantic equivalence and 0 for others. Models are evaluated by F1 score.
The dataset we use is BigCloneBench and filtered following the paper Detecting Code Clones with Graph Neural Network and Flow-Augmented Abstract Syntax Tree.
  • लाइसेंस : कोई ज्ञात लाइसेंस नहीं
  • संस्करण : 0.0.0
  • विभाजन :
विभाजित करना उदाहरण
'test' 415416
'train' 901028
'validation' 415416
  • विशेषताएं :
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "id1": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "id2": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "func1": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "func2": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "dtype": "bool",
        "id": null,
        "_type": "Value"
    }
}