รอยเตอร์ส21578

อ้างอิง:

มดเฮย์ส

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

ds = tfds.load('huggingface:reuters21578/ModHayes')
  • คำอธิบาย :
The Reuters-21578 dataset  is one of the most widely used data collections for text
categorization research. It is collected from the Reuters financial newswire service in 1987.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'test' 722
'train' 20856
  • คุณสมบัติ :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "text_type": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "topics": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "lewis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "cgis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "old_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "new_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "places": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "people": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "orgs": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "exchanges": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "date": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

ม็อดลูอิส

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

ds = tfds.load('huggingface:reuters21578/ModLewis')
  • คำอธิบาย :
The Reuters-21578 dataset  is one of the most widely used data collections for text
categorization research. It is collected from the Reuters financial newswire service in 1987.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'test' 6188
'train' 13625
'unused' 722
  • คุณสมบัติ :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "text_type": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "topics": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "lewis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "cgis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "old_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "new_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "places": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "people": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "orgs": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "exchanges": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "date": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

ModApte

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

ds = tfds.load('huggingface:reuters21578/ModApte')
  • คำอธิบาย :
The Reuters-21578 dataset  is one of the most widely used data collections for text
categorization research. It is collected from the Reuters financial newswire service in 1987.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'test' 3299
'train' 9603
'unused' 722
  • คุณสมบัติ :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "text_type": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "topics": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "lewis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "cgis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "old_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "new_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "places": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "people": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "orgs": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "exchanges": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "date": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}