harika_kod,harika_kod

Referanslar:

Bu veri kümesini TFDS'ye yüklemek için aşağıdaki komutu kullanın:

ds = tfds.load('huggingface:great_code')
  • Tanım :
The dataset for the variable-misuse task, described in the ICLR 2020 paper 'Global Relational Models of Source Code' [https://openreview.net/forum?id=B1lnbRNtwr]

This is the public version of the dataset used in that paper. The original, used to produce the graphs in the paper, could not be open-sourced due to licensing issues. See the public associated code repository [https://github.com/VHellendoorn/ICLR20-Great] for results produced from this dataset.

This dataset was generated synthetically from the corpus of Python code in the ETH Py150 Open dataset [https://github.com/google-research-datasets/eth_py150_open].
  • Lisans : Bilinen lisans yok
  • Sürüm : 1.0.0
  • Bölünmeler :
Bölmek Örnekler
'test' 968592
'train' 1798742
'validation' 185656
  • Özellikler :
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "source_tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "has_bug": {
        "dtype": "bool",
        "id": null,
        "_type": "Value"
    },
    "error_location": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "repair_candidates": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "bug_kind": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "bug_kind_name": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "repair_targets": {
        "feature": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "edges": [
        [
            {
                "before_index": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "after_index": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "edge_type": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "edge_type_name": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                }
            }
        ]
    ],
    "provenances": [
        {
            "datasetProvenance": {
                "datasetName": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                },
                "filepath": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                },
                "license": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                },
                "note": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                }
            }
        }
    ]
}