so_stacksample

参考文献:

答え

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:so_stacksample/Answers')
  • 説明
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
  • ライセンス: すべての Stack Overflow ユーザーの投稿は CC-BY-SA 3.0 に基づいてライセンスされており、帰属が必要です。
  • バージョン: 1.1.0
  • 分割:
スプリット
'Answers' 2014516
  • 特徴
{
    "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"
    }
}

質問

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:so_stacksample/Questions')
  • 説明
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
  • ライセンス: すべての Stack Overflow ユーザーの投稿は CC-BY-SA 3.0 に基づいてライセンスされており、帰属が必要です。
  • バージョン: 1.1.0
  • 分割:
スプリット
'Questions' 1264216
  • 特徴
{
    "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"
    }
}

タグ

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:so_stacksample/Tags')
  • 説明
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
  • ライセンス: すべての Stack Overflow ユーザーの投稿は CC-BY-SA 3.0 に基づいてライセンスされており、帰属が必要です。
  • バージョン: 1.1.0
  • 分割:
スプリット
'Tags' 3750994
  • 特徴
{
    "Id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "Tag": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}