Ghana LLM Coding
Collection
Ready to use datasets for finetuning LLMs on Ghanaian languages.
β’
3 items
β’
Updated
This dataset is part of GhanaNLP's community projects.
To get access, please check out our contribution guide here:
CONTRIBUTING.md
Code-170k-ga is a groundbreaking dataset containing 176,999 programming conversations, originally sourced from glaiveai/glaive-code-assistant-v2 and translated into Ga, making coding education accessible to Ga speakers.
conversations: A list of conversation turns, where each turn contains:from: The speaker ("human" or "gpt")value: The message content in Ga{
"conversations": [
{
"from": "human",
"value": "[Question in Ga]"
},
{
"from": "gpt",
"value": "[Answer in Ga]"
}
]
}
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("michsethowusu/Code-170k-ga")
# 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_ga,
title={Code-170k-ga: Programming Conversations in Ga},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/datasets/michsethowusu/Code-170k-ga}
}
This dataset is released under the Apache 2.0 License.
Thank you for using Code-170k-ga to advance programming education in Ga! πβ¨