Afri Code Datasets
Collection
A collection of datasets with coding conversations that are translated to 55 African languages. β’ 55 items β’ Updated
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Code-170k-dombe is a groundbreaking dataset containing 176,999 programming conversations, originally sourced from glaiveai/glaive-code-assistant-v2 and translated into Dombe, making coding education accessible to Dombe speakers.
conversations: A list of conversation turns, where each turn contains:from: The speaker ("human" or "gpt")value: The message content in Dombe{
"conversations": [
{
"from": "human",
"value": "[Question in Dombe]"
},
{
"from": "gpt",
"value": "[Answer in Dombe]"
}
]
}
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("michsethowusu/Code-170k-dombe")
# Access training data
train_data = dataset['train']
# Example: Print first conversation
for turn in train_data[0]['conversations']:
print(f"{turn['from']}: {turn['value']}")
@dataset{code170k_dombe,
title={Code-170k-dombe: Programming Conversations in Dombe},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/datasets/michsethowusu/Code-170k-dombe}
}
This dataset is released under the Apache 2.0 License.
Thank you for using Code-170k-dombe to advance programming education in Dombe! πβ¨