so_stacksample

Riferimenti:

Risposte

Utilizzare il comando seguente per caricare questo set di dati in TFDS:

ds = tfds.load('huggingface:so_stacksample/Answers')
  • Descrizione :
Dataset with the text of 10% of questions and answers from the Stack Overflow programming Q&A website.

This is organized as three tables:

Questions contains the title, body, creation date, closed date (if applicable), score, and owner ID for all non-deleted Stack Overflow questions whose Id is a multiple of 10.
Answers contains the body, creation date, score, and owner ID for each of the answers to these questions. The ParentId column links back to the Questions table.
Tags contains the tags on each of these questions
  • Licenza : tutti i contributi degli utenti Stack Overflow sono concessi in licenza sotto CC-BY-SA 3.0 con attribuzione richiesta.
  • Versione : 1.1.0
  • Divide :
Diviso Esempi
'Answers' 2014516
  • Caratteristiche :
{
    "Id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "OwnerUserId": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "CreationDate": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "ParentId": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "Score": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "Body": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

Domande

Utilizzare il comando seguente per caricare questo set di dati in TFDS:

ds = tfds.load('huggingface:so_stacksample/Questions')
  • Descrizione :
Dataset with the text of 10% of questions and answers from the Stack Overflow programming Q&A website.

This is organized as three tables:

Questions contains the title, body, creation date, closed date (if applicable), score, and owner ID for all non-deleted Stack Overflow questions whose Id is a multiple of 10.
Answers contains the body, creation date, score, and owner ID for each of the answers to these questions. The ParentId column links back to the Questions table.
Tags contains the tags on each of these questions
  • Licenza : tutti i contributi degli utenti Stack Overflow sono concessi in licenza sotto CC-BY-SA 3.0 con attribuzione richiesta.
  • Versione : 1.1.0
  • Divide :
Diviso Esempi
'Questions' 1264216
  • Caratteristiche :
{
    "Id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "OwnerUserId": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "CreationDate": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "ClosedDate": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "Score": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "Title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "Body": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

Tag

Utilizzare il comando seguente per caricare questo set di dati in TFDS:

ds = tfds.load('huggingface:so_stacksample/Tags')
  • Descrizione :
Dataset with the text of 10% of questions and answers from the Stack Overflow programming Q&A website.

This is organized as three tables:

Questions contains the title, body, creation date, closed date (if applicable), score, and owner ID for all non-deleted Stack Overflow questions whose Id is a multiple of 10.
Answers contains the body, creation date, score, and owner ID for each of the answers to these questions. The ParentId column links back to the Questions table.
Tags contains the tags on each of these questions
  • Licenza : tutti i contributi degli utenti Stack Overflow sono concessi in licenza sotto CC-BY-SA 3.0 con attribuzione richiesta.
  • Versione : 1.1.0
  • Divide :
Diviso Esempi
'Tags' 3750994
  • Caratteristiche :
{
    "Id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "Tag": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}