เพค

อ้างอิง:

มีความสุข

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

ds = tfds.load('huggingface:pec/happy')
  • คำอธิบาย :
A dataset of around 350K persona-based empathetic conversations. 
Each speaker is associated with a persona, which comprises multiple persona sentences. 
The response of each conversation is empathetic.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'test' 22730
'train' 157195
'validation' 19829
  • คุณสมบัติ :
{
    "personas": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "context": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "context_speakers": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "response": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "response_speaker": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

นอกใจ

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

ds = tfds.load('huggingface:pec/offmychest')
  • คำอธิบาย :
A dataset of around 350K persona-based empathetic conversations. 
Each speaker is associated with a persona, which comprises multiple persona sentences. 
The response of each conversation is empathetic.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'test' 15324
'train' 123968
'validation' 16004
  • คุณสมบัติ :
{
    "personas": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "context": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "context_speakers": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "response": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "response_speaker": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

ทั้งหมด

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

ds = tfds.load('huggingface:pec/all')
  • คำอธิบาย :
A dataset of around 350K persona-based empathetic conversations. 
Each speaker is associated with a persona, which comprises multiple persona sentences. 
The response of each conversation is empathetic.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'test' 38054
'train' 281163
'validation' 35833
  • คุณสมบัติ :
{
    "personas": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "context": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "context_speakers": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "response": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "response_speaker": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}