---
title: CoT
canonical_url: "https://www.modelscope.cn/datasets/YorickHe/CoT"
md_url: "https://www.modelscope.cn/datasets/YorickHe/CoT.md"
repository: YorickHe/CoT
last_updated: 2024-09-02
license: "Apache License 2.0"
storage_size: "29 MB"
domain:
  - configs
  - text
tasks:
  - "{config_name=default, data_files=[{path=CoT_data.csv, split=train}]}"
  - conversational
  - question-answering
  - text-generation
size_scale:
  - 100-10k
type:
  - task-qa
language:
  - en
downloads: 22068
stars: 11
---

# CoT

> CoT - YorickHe 在 ModelScope 开源的数据集。CoT数据集是通过对FLAN发布的9个CoT数据集进行格式化组合得到的。

YorickHe/CoT 是 ModelScope 魔搭社区上的{config_name=default, data_files=[{path=CoT_data.csv, split=train}]}、conversational、question-answering数据集，涉及 configs、text 领域，存储大小 29 MB，采用 Apache License 2.0 许可。

- **Repository**: YorickHe/CoT
- **License**: Apache License 2.0
- **Tasks**: {config_name=default, data_files=[{path=CoT_data.csv, split=train}]}, conversational, question-answering, text-generation
- **Domain**: configs, text
- **Storage size**: 29 MB
- **Downloads**: 22068
- **Stars**: 11
- **Last updated**: 2024-09-02

Source: https://www.modelscope.cn/datasets/YorickHe/CoT

---

## 数据集描述
CoT数据集是通过对FLAN发布的9个CoT数据集进行格式化组合得到的。它包含9个CoT任务，涉及74771个样本。

## 数据示例
```
{
    "instruction": ""What is the process by which living things give rise to offspring?\\nOptions:\\n- (A) DNA\\n- (B) photosynthesis\\n- (C) bird\\n- (D) sex\\n- (E) subtraction\\n- (F) gametes\\n- (G) eggs\\n- (H) ovum Let's solve this problem gradually.\n",
    "input": "",
    "output": "Reproduction is the process by which living things give rise to offspring. Sex equals reproduction. Sex is the process by which living things give rise to offspring. So the final answer is (D)."
}
```

### 数据集加载方式
```Python
from modelscope.msdatasets import MsDataset
from modelscope.utils.constant import DownloadMode

# Load the CoT dataset
ds_train = MsDataset.load('YorickHe/CoT', split='train', download_mode=DownloadMode.FORCE_REDOWNLOAD)
print(next(iter(ds_train)))
```

### Clone with HTTP
```bash
git clone https://www.modelscope.cn/datasets/YorickHe/CoT.git
```
