task_categories:text-generation task_categories:conversational task_categories:question-answering size_categories:10K<n<100K language:en license:cc-by-4.0 gpt3 alpaca instruction-finetuning region:us
---
task_categories:
- text-generation
- conversational
- question-answering
language:
- en
size_categories:
- 10K<n<100K
license: cc-by-4.0
tags:
- gpt3
- alpaca
- instruction-finetuning
---
# Dataset Card for "alpaca-gpt4-tw-input-output-48k"

This dataset contains English Instruction-Following generated by GPT-4 using Alpaca prompts for fine-tuning LLMs.

The dataset was originaly shared in this repository: https://github.com/ntunlplab/traditional-chinese-alpaca. This is just a wraper for compatibility with huggingface's datasets library.

## Dataset structure

It contains 52K instruction-following data generated by GPT-4 using the same prompts as in Alpaca.
The dataset has the same format as Alpaca data, except the output is generated by GPT-4:

    - `instruction`: `str`, describes the task the model should perform. Each of the 52K instructions is unique.
    - `input`: `str`, optional context or input for the task. 
    - `output`: `str`, the answer to the instruction as generated by `GPT-4`.

## Difference with the original Alpaca dataset

The original Alpaca dataset used text-davinci-003 to complete the prompts. This dataset uses those same prompts, but generating the completions with GPT-4. Thus, in general, the responses are of higher quality and lenght. Here is an example:

#### Example from Alpaca-GPT3:

```bash
{
  'instruction': '辨識那一個平台與其他不同。',
  'input': '輸入：Twitter，Instagram，Telegram。',
  'output': 'Twitter，Instagram 和 Telegram 都是流行的社群媒體平台，但它們之間也有一些不同之處：\n\n- Twitter: 是一個Twitter社群媒體平台，使用者可以發佈 280 字元以內的訊息（即推文）並與其他使用者互動。它主要關注文字交流，儘管使用者也可以分享照片和視訊。\n- Instagram: 是一個圖片和視訊分享的社群媒體平台，使用者可以在 Instagram 上發佈照片和視訊並與其他使用者互動。它主要關注圖片和視訊的分享，儘管使用者也可以新增文字說明。\n- Telegram: 是一個即時通訊和社群媒體平台，使用者可以通過文字、語音、圖片和視訊與其他使用者即時交流。與 Twitter 和 Instagram 不同，Telegram 更側重於即時通訊，它還提供了端到端加密的私人聊天功能。'
 }
```
## Licensing Information

The dataset is available under the [Creative Commons NonCommercial (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/legalcode).