wikisql

Người giới thiệu:

Sử dụng lệnh sau để tải tập dữ liệu này trong TFDS:

ds = tfds.load('huggingface:wikisql')
  • Mô tả :
A large crowd-sourced dataset for developing natural language interfaces for relational databases
  • Giấy phép : Không có giấy phép đã biết
  • Phiên bản : 0.1.0
  • Tách :
Tách ra Các ví dụ
'test' 15878
'train' 56355
'validation' 8421
  • Các tính năng :
{
    "phase": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "question": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "table": {
        "header": {
            "feature": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        },
        "page_title": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "page_id": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "types": {
            "feature": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        },
        "id": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "section_title": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "caption": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "rows": {
            "feature": {
                "feature": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                },
                "length": -1,
                "id": null,
                "_type": "Sequence"
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        },
        "name": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        }
    },
    "sql": {
        "human_readable": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "sel": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "agg": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "conds": {
            "feature": {
                "column_index": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "operator_index": {
                    "dtype": "int32",
                    "id": null,
                    "_type": "Value"
                },
                "condition": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        }
    }
}