task_categories:text-generation language:en language:sw license:cc-by-nc-4.0 region:us instruction-finetuning
---
license: cc-by-nc-4.0
language:
- en
- sw
tags:
- instruction-finetuning
pretty_name: Alpaca Swahili
task_categories:
- text-generation
---

# Dataset Card for Alpaca Swahili

## Dataset Description

- **Homepage:** https://crfm.stanford.edu/2023/03/13/alpaca.html
- **Repository:** https://github.com/ebartile/Swahili-LLaMA-Alpaca/
- **Paper:** 
- **Leaderboard:** 
- **Point of Contact:** Emmanuel Bartile Kapkusum

### Dataset Summary

Alpaca Swahili is a dataset of 52,000 instructions and translated from the latest [Alpaca Dataset](https://github.com/tatsu-lab/stanford_alpaca/blob/main/alpaca_data.json).

Refer to [Official Alpaca Huggingface](https://huggingface.co/datasets/tatsu-lab/alpaca/) for more details.

### Languages

The data in Alpaca Swahili are in Swahili (BCP-47 sw).

## Dataset Structure

### Data Instances

An example of "train" looks as follows:

```json
{
    "instruction": "Unda kazi ya uainishaji kwa kuunganisha orodha iliyotolewa ya vitu.",
    "input": "Tufaha, machungwa, ndizi, jordgubbar, mananasi",
    "output": "Daraja la 1: Tufaha, Machungwa\nDaraja la 2: Ndizi, Jordgubbar\nDaraja la 3: Mananasi",
    "text": "Hapa chini kuna maagizo ambayo yanaelezea kazi, yakioanishwa na ingizo linalotoa muktadha zaidi. Andika jibu ambalo linakamilisha ombi ipasavyo.\n\n### Maagizo:\nUnda kazi ya uainishaji kwa kuunganisha uliyopewa. orodha ya bidhaa.\n\n### Ingizo:\nTufaha, machungwa, ndizi, jordgubbar, mananasi\n\n### Jibu:\nDaraja la 1: Tufaha, Machungwa\nDaraja la 2: Ndizi, Jordgubbar\nDaraja la 3: Mananasi",
}
```

### Data Fields

The data fields are as follows:

* `instruction`: describes the task the model should perform. Each of the 52K instructions is unique.
* `input`: optional context or input for the task. For example, when the instruction is "Summarize the following article", the input is the article. Around 40% of the examples have an input.
* `output`: the answer to the instruction as generated by `text-davinci-003`.
* `text`: the `instruction`, `input` and `output` formatted with the [prompt template](https://github.com/tatsu-lab/stanford_alpaca#data-release) used by the authors for fine-tuning their models.

### Data Splits

|                | train |
|----------------|------:|
| alpaca-swahili | 52002 |

## Dataset Creation

### Curation Rationale

[More Information Needed]

### Source Data

#### Initial Data Collection and Normalization

[More Information Needed]

#### Who are the source language producers?

[More Information Needed]

### Annotations

#### Annotation process

[More Information Needed]

#### Who are the annotators?

[More Information Needed]

### Personal and Sensitive Information

[More Information Needed]

## Considerations for Using the Data

[More Information Needed]

### Discussion of Biases

[More Information Needed]

## Additional Information

### Dataset Curators

[More Information Needed]

### 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).

### Contributions

[More Information Needed]