Datasets:
File size: 2,383 Bytes
5c7e624 24128d4 5c7e624 24128d4 61cfc9c c3e81af 24128d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | ---
license: apache-2.0
language:
- en
- hi
- de
task_categories:
- text-generation
tags:
- sft
- instruction-tuning
- multilingual
- qwen
- llama-factory
size_categories:
- 10K<n<100K
---
# Aya Multilingual SFT Dataset
This dataset is derived from the [CohereForAI/aya_collection](https://huggingface.co/datasets/CohereForAI/aya_collection)
(translated_dolly subset) and formatted for supervised fine-tuning (SFT) with LLaMA-Factory.
## Dataset Subsets
| Subset | Languages | Train | Test | Description |
|--------|-----------|-------|------|-------------|
| `eng` | ENG | ✓ | ✓ | English only subset |
| `hin` | HIN | ✓ | ✓ | Hindi only subset |
| `deu` | DEU | ✓ | ✓ | German only subset |
| `eng_hin_deu` | ENG, HIN, DEU | ✓ | ✓ | Combined English, Hindi, and German subset |
| `eng_hin_deu_sampled` | ENG, HIN, DEU, SAMPLED | ✓ | ✓ | Combined English, Hindi, and German sampled subset |
| `ben` | BEN | ✓ | ✓ | Bengali only subset |
| `ben_eng_hin_deu` | BEN, ENG, HIN, DEU | ✓ | ✓ | Combined Bengali, English, Hindi, and German subset |
| `ben_eng_hin_deu_sampled` | BEN, ENG, HIN, DEU, SAMPLED | ✓ | ✓ | Combined Bengali English, Hindi, and German sampled subset |
## Usage
### Load a specific subset
```python
from datasets import load_dataset
# Load English subset
dataset = load_dataset("Mayank6255/translated_dolly_spec_decode", "eng")
# Load combined subset
dataset = load_dataset("Mayank6255/translated_dolly_spec_decode", "eng_hin_deu")
# Access splits
train_data = dataset["train"]
test_data = dataset["test"]
```
### Data Format
Each example contains:
```json
{
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "..."},
{"role": "assistant", "content": "..."}
],
"language": "eng"
}
```
## LLaMA-Factory Integration
Add to `data/dataset_info.json`:
```json
{
"aya_eng_hin_deu_train": {
"hf_hub_url": "Mayank6255/translated_dolly_spec_decode",
"subset": "eng_hin_deu",
"split": "train",
"formatting": "sharegpt",
"columns": {"messages": "messages"},
"tags": {
"role_tag": "role",
"content_tag": "content",
"user_tag": "user",
"assistant_tag": "assistant",
"system_tag": "system"
}
}
}
```
## License
This dataset follows the licensing terms of the original Aya Collection dataset.
|