---
title: instruct
canonical_url: "https://www.modelscope.cn/datasets/wyj123456/instruct"
md_url: "https://www.modelscope.cn/datasets/wyj123456/instruct.md"
repository: wyj123456/instruct
last_updated: 2024-09-02
license: "MIT License"
storage_size: "962 MB"
domain:
  - configs
  - text
tasks:
  - "{config_name=default, data_files=[{path=instruct.jsonl, split=train}]}"
  - conversational
  - question-answering
  - text-generation
size_scale:
  - 10k-1m
type:
  - task-qa
language:
  - en
downloads: 683
stars: 2
---

# instruct

> instruct - wyj123456 在 ModelScope 开源的数据集。This dataset is a combination of multiple sources, including the GPT4All dataset, the Alpaca dataset from Stanford, custom generation using AllenAI augmentation, and some dataset augmentation from open-source Meta…

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

- **Repository**: wyj123456/instruct
- **License**: MIT License
- **Tasks**: {config_name=default, data_files=[{path=instruct.jsonl, split=train}]}, conversational, question-answering, text-generation
- **Domain**: configs, text
- **Storage size**: 962 MB
- **Downloads**: 683
- **Stars**: 2
- **Last updated**: 2024-09-02

Source: https://www.modelscope.cn/datasets/wyj123456/instruct

---

## 数据集描述
It contains 806199 en instructions in code, storys and dialogs tasks.
## 数据示例
```
{"prompt":"When heating some tea in the microwave, is it recommended you use a metal cup over a ceramic cup?","completion":"No, it is not recommended to use a metal cup in the microwave as it can create sparks and potentially cause a fire. It is safer to use a microwave-safe ceramic mug or glass container."}
```
### 数据集加载方式

```Python
from modelscope.msdatasets import MsDataset
from modelscope.utils.constant import DownloadMode

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

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