py_ast

مراجع:

ast

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:py_ast/ast')
  • توضیحات :
dataset consisting of parsed Parsed ASTs that were used to train and
evaluate the DeepSyn tool.
The Python programs are collected from GitHub repositories
by removing duplicate files, removing project forks (copy of another existing repository)
,keeping only programs that parse and have at most 30'000 nodes in the AST and
we aim to remove obfuscated files
  • مجوز : مجوز شناخته شده ای وجود ندارد
  • نسخه : 0.0.0
  • تقسیم ها :
تقسیم کنید نمونه ها
'test' 50000
'train' 100000
  • ویژگی ها :
{
    "ast": {
        "feature": {
            "type": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "value": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "children": {
                "feature": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "length": -1,
                "id": null,
                "_type": "Sequence"
            }
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}