wiki_auto

อ้างอิง:

คู่มือ

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:wiki_auto/manual')
  • คำอธิบาย :
WikiAuto provides a set of aligned sentences from English Wikipedia and Simple English Wikipedia
as a resource to train sentence simplification systems. The authors first crowd-sourced a set of manual alignments
between sentences in a subset of the Simple English Wikipedia and their corresponding versions in English Wikipedia
(this corresponds to the `manual` config), then trained a neural CRF system to predict these alignments.
The trained model was then applied to the other articles in Simple English Wikipedia with an English counterpart to
create a larger corpus of aligned sentences (corresponding to the `auto`, `auto_acl`, `auto_full_no_split`, and `auto_full_with_split`  configs here).
  • ใบอนุญาต : CC-BY-SA 3.0
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'dev' 73249
'test' 118074
'train' 373801
  • คุณสมบัติ :
{
    "alignment_label": {
        "num_classes": 3,
        "names": [
            "notAligned",
            "aligned",
            "partialAligned"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "normal_sentence_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "simple_sentence_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "normal_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "simple_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "gleu_score": {
        "dtype": "float32",
        "id": null,
        "_type": "Value"
    }
}

auto_acl

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:wiki_auto/auto_acl')
  • คำอธิบาย :
WikiAuto provides a set of aligned sentences from English Wikipedia and Simple English Wikipedia
as a resource to train sentence simplification systems. The authors first crowd-sourced a set of manual alignments
between sentences in a subset of the Simple English Wikipedia and their corresponding versions in English Wikipedia
(this corresponds to the `manual` config), then trained a neural CRF system to predict these alignments.
The trained model was then applied to the other articles in Simple English Wikipedia with an English counterpart to
create a larger corpus of aligned sentences (corresponding to the `auto`, `auto_acl`, `auto_full_no_split`, and `auto_full_with_split`  configs here).
  • ใบอนุญาต : CC-BY-SA 3.0
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'full' 488332
  • คุณสมบัติ :
{
    "normal_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "simple_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

อัตโนมัติ

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:wiki_auto/auto')
  • คำอธิบาย :
WikiAuto provides a set of aligned sentences from English Wikipedia and Simple English Wikipedia
as a resource to train sentence simplification systems. The authors first crowd-sourced a set of manual alignments
between sentences in a subset of the Simple English Wikipedia and their corresponding versions in English Wikipedia
(this corresponds to the `manual` config), then trained a neural CRF system to predict these alignments.
The trained model was then applied to the other articles in Simple English Wikipedia with an English counterpart to
create a larger corpus of aligned sentences (corresponding to the `auto`, `auto_acl`, `auto_full_no_split`, and `auto_full_with_split`  configs here).
  • ใบอนุญาต : CC-BY-SA 3.0
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'part_1' 125059
'part_2' 13036
  • คุณสมบัติ :
{
    "example_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "normal": {
        "normal_article_id": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "normal_article_title": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "normal_article_url": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "normal_article_content": {
            "feature": {
                "normal_sentence_id": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                },
                "normal_sentence": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        }
    },
    "simple": {
        "simple_article_id": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "simple_article_title": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "simple_article_url": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "simple_article_content": {
            "feature": {
                "simple_sentence_id": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                },
                "simple_sentence": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        }
    },
    "paragraph_alignment": {
        "feature": {
            "normal_paragraph_id": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "simple_paragraph_id": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            }
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "sentence_alignment": {
        "feature": {
            "normal_sentence_id": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            },
            "simple_sentence_id": {
                "dtype": "string",
                "id": null,
                "_type": "Value"
            }
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

auto_full_no_split

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:wiki_auto/auto_full_no_split')
  • คำอธิบาย :
WikiAuto provides a set of aligned sentences from English Wikipedia and Simple English Wikipedia
as a resource to train sentence simplification systems. The authors first crowd-sourced a set of manual alignments
between sentences in a subset of the Simple English Wikipedia and their corresponding versions in English Wikipedia
(this corresponds to the `manual` config), then trained a neural CRF system to predict these alignments.
The trained model was then applied to the other articles in Simple English Wikipedia with an English counterpart to
create a larger corpus of aligned sentences (corresponding to the `auto`, `auto_acl`, `auto_full_no_split`, and `auto_full_with_split`  configs here).
  • ใบอนุญาต : CC-BY-SA 3.0
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'full' 591994
  • คุณสมบัติ :
{
    "normal_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "simple_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

auto_full_with_split

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:wiki_auto/auto_full_with_split')
  • คำอธิบาย :
WikiAuto provides a set of aligned sentences from English Wikipedia and Simple English Wikipedia
as a resource to train sentence simplification systems. The authors first crowd-sourced a set of manual alignments
between sentences in a subset of the Simple English Wikipedia and their corresponding versions in English Wikipedia
(this corresponds to the `manual` config), then trained a neural CRF system to predict these alignments.
The trained model was then applied to the other articles in Simple English Wikipedia with an English counterpart to
create a larger corpus of aligned sentences (corresponding to the `auto`, `auto_acl`, `auto_full_no_split`, and `auto_full_with_split`  configs here).
  • ใบอนุญาต : CC-BY-SA 3.0
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'full' 483801
  • คุณสมบัติ :
{
    "normal_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "simple_sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}