File size: 3,240 Bytes
3bf021c 0f86f55 18b28f7 0f86f55 3bf021c 6c6c3b9 6955222 6c6c3b9 3bf021c 6c6c3b9 6955222 bfdb9c3 ed15112 bfdb9c3 6c6c3b9 18b28f7 6c6c3b9 18b28f7 6c6c3b9 18b28f7 6c6c3b9 18b28f7 6c6c3b9 6955222 6c6c3b9 | 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 123 124 125 126 127 | ---
dataset_info:
features:
- name: conversations
list:
- name: from
dtype: string
- name: value
dtype: string
splits:
- name: train
num_bytes: 355770236
num_examples: 176999
download_size: 177885118
dataset_size: 355770236
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
language:
- ee
license: cc-by-nc-4.0
task_categories:
- text-generation
- question-answering
pretty_name: Code-170k-ewe
size_categories:
- 100K<n<1M
tags:
- code
- programming
- ee
- ewe
- african-languages
- low-resource
- multilingual
- instruction-tuning
---
> This dataset is shared under CC BY-NC 4.0, which means you are free to use, share, and adapt it for non-commercial research and educational purposes with attribution. You can read the full license at https://creativecommons.org/licenses/by-nc/4.0/.
>This dataset is made available because of Ghana NLP's volunteer driven research work. Please consider contributing to any of our projects on [Github](https://github.com/GhanaNLP/)
## Dataset Description
**Code-170k-ewe** 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 Ewe, making coding education accessible to Ewe speakers.
### 🌟 Key Features
- **176,999 high-quality conversations** about programming and coding
- **Pure Ewe 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 Ewe-language coding assistants
- Building educational tools for Ewe developers
- Researching multilingual code generation
- Creating programming tutorials in Ewe
- 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 Ewe
### Example
```python
{
"conversations": [
{
"from": "human",
"value": "[Question in Ewe]"
},
{
"from": "gpt",
"value": "[Answer in Ewe]"
}
]
}
```
## Usage
### Loading the Dataset
```python
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("michsethowusu/Code-170k-ewe")
# 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_ewe,
title={Code-170k-ewe: Programming Conversations in Ewe},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/datasets/michsethowusu/Code-170k-ewe}
}
```
## License
This dataset is released under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) — free to use, share, and adapt for non-commercial research and educational purposes with attribution.
---
**Thank you** for using Code-170k-ewe to advance programming education in Ewe! 🌍✨
|