File size: 2,696 Bytes
87fe445 15e626c e1a9b4d 15e626c 87fe445 75ce631 e1a9b4d 75ce631 87fe445 75ce631 e1a9b4d 75ce631 e1a9b4d 75ce631 e1a9b4d 75ce631 e1a9b4d 75ce631 |
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 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
---
dataset_info:
features:
- name: conversations
list:
- name: from
dtype: string
- name: value
dtype: string
splits:
- name: train
num_bytes: 328319793
num_examples: 176999
download_size: 164159896
dataset_size: 328319793
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
language:
- sn
license: apache-2.0
task_categories:
- text-generation
- question-answering
pretty_name: Code-170k-shona
size_categories:
- 100K<n<1M
tags:
- code
- programming
- sn
- shona
- african-languages
- low-resource
- multilingual
- instruction-tuning
---
## Dataset Description
**Code-170k-shona** is a groundbreaking dataset containing 176,999 programming conversations, originally sourced from [glaiveai/glaive-code-assistant-v2](https://huggingface.co/datasets/glaiveai/glaive-code-assistant) and translated into Shona, making coding education accessible to Shona speakers.
### 🌟 Key Features
- **176,999 high-quality conversations** about programming and coding
- **Pure Shona language** - democratizing coding education
- **Multi-turn dialogues** covering various programming concepts
- **Diverse topics**: algorithms, data structures, debugging, best practices, and more
- **Ready for instruction tuning** of Large Language Models
### 🎯 Use Cases
- Training Shona-language coding assistants
- Building educational tools for Shona developers
- Researching multilingual code generation
- Creating programming tutorials in Shona
- Supporting low-resource language AI development
## Dataset Structure
### Data Fields
- `conversations`: A list of conversation turns, where each turn contains:
- `from`: The speaker (`"human"` or `"gpt"`)
- `value`: The message content in Shona
### Example
```python
{
"conversations": [
{
"from": "human",
"value": "[Question in Shona]"
},
{
"from": "gpt",
"value": "[Answer in Shona]"
}
]
}
```
## Usage
### Loading the Dataset
```python
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("michsethowusu/Code-170k-shona")
# Access training data
train_data = dataset['train']
# Example: Print first conversation
for turn in train_data[0]['conversations']:
print(f"{turn['from']}: {turn['value']}")
```
## Citation
```bibtex
@dataset{code170k_shona,
title={Code-170k-shona: Programming Conversations in Shona},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/datasets/michsethowusu/Code-170k-shona}
}
```
## License
This dataset is released under the Apache 2.0 License.
---
**Thank you** for using Code-170k-shona to advance programming education in Shona! 🌍✨
|