Datasets:
id stringlengths 5 20 | source stringclasses 4
values | markdown stringclasses 52
values | messages listlengths 2 2 |
|---|---|---|---|
pristine-0 | pristine | heading_caps,bold_sentence,italic_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## IF WE ARE TO SPEAK OF HISTORY, IT MEANS WE ARE SPEAKING OF WHAT HAPPENED IN WINNEBA, AT THE UNIVERSITY OF EDUCATION, WINNEBA (UEW).\n\nThe shine that shone that day,... |
pristine-2 | pristine | heading_caps,bold_sentence,italic_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## HISTORY SHOWS THAT IF THINGS START, IT IS NOT ONE DAY THAT THEY COME.\n\nHow that Atta Mills Institute issue went on, it is fitting that we watch it carefully. In th... |
pristine-1 | pristine | null | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\nThis Accra Skytrain Project is something that has gone on in many matters. From the time they said they would build the Skytrain, many villagers were happy, and their m... |
pristine-7 | pristine | null | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\nThe England Women’s Euro football work has moved forward very well. In the competition that passed, England won in the shootout that is scary, and that is what made the... |
pristine-5 | pristine | heading,bold_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## In the month of December, one morning when it was raining, many people came by themselves so they would hear the matter concerning the 2023 budget.\n\nDeputy Finance... |
pristine-10 | pristine | heading_caps,numbered_list,bold_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## SEPTEMBER 3, 2025, WAS WHEN WE SET THE FOUNDATION THAT WE WOULD LOOK INTO THE MATTER CONCERNING THE GSS AFFAIRS.\n\n1. As many elders said, the \"release\" they did ... |
pristine-16 | pristine | heading_caps,numbered_list,bold_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## THIS MORNING, THE MATTER THAT IS GOING ON IN THE NATION, AND THE PATH THAT IS IN IT IS SOMETHING THAT WE MUST PROTECT.\n\n1. Dr. Rashid Tanko-Computer, who is the ND... |
pristine-6 | pristine | heading,bold_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## Mojo Payments Limited, a Bank of Ghana agye wɔn din sɛ Enhanced Payment Service Provider, ahyɛ adwuma foforo bi ase a ɛbɛboa yɛn fintech startups.\n\nAdwuma yi ne \"... |
pristine-11 | pristine | heading_caps,numbered_list,bold_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## HISTORY SHOWS THAT THIS 8TH PARLIAMENT STARTED IN A WAY THAT IS VERY SURPRISING.\n\n1. If we look into it, that time was a time when our country needed it most.\n2. ... |
pristine-4 | pristine | heading,bold_paragraph | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## The George Afriyie matter too is something that makes our mind shake a lot.\n\n**This Ghana football work, it is there that it needs change. George Afriyie says that... |
pristine-15 | pristine | heading,bold_sentence,italic_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## Oguaa Traditional Area, that is where King Nana Kwesi Egyin, who is the Nyimfahen, sits.\n\n*One day when the Tour Operators of Ghana Association came there to meet ... |
pristine-9 | pristine | null | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\nWhen we go where things are happening, we see that they are matters that require understanding. A man who was being shown as a judge, his matter started in a frightenin... |
pristine-3 | pristine | heading,bold_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## It has been about three days since a major matter happened in this nation concerning what concerns the competition among students.\n\nThe Ministry of Education start... |
pristine-14 | pristine | heading_caps,bullet_list | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## IT WAS A CERTAIN NIGHT, AND BECAUSE OF THE THINGS HAPPENING, MANY PEOPLE WERE DISTRAUGHT.\n\n- Raymond Archer came to where we were and was very angry.\n- When he sp... |
pristine-12 | pristine | table,bold_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n| # | Sentence |\n|---|---|\n| 1 | This morning, it was a sad time in the nation. |\n| 2 | Many people who work for the nation who lost their lives in their work were m... |
pristine-17 | pristine | heading_caps,bold_sentence,italic_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## IF WE LOOK FOR WHAT WENT ON CONCERNING THIS JOURNEY, THE MATTERS ARE VERY SCARY.\n\nOn Tuesday, a boat that was carrying about 160 people leaving Gambia for Europe m... |
pristine-22 | pristine | heading_caps,italic_sentence | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## FURTHERMORE, IF I LOOK AT THINGS GOING ON IN POLITICS AND BETWEEN OUR NATIONAL PRESIDENT AND RELIGIOUS LEADERS, IT MAKES ME CALM.\n\n*Since the time the Government o... |
pristine-8 | pristine | null | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\nOn a joyful Sunday morning, Trump wrote on Truth Social that he is appointing Tammy Bruce, a \"Great Patriot\" and television personality, as the United States deputy a... |
pristine-13 | pristine | heading,bullet_list | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n## If we talk history, it seems this year will be a very strange one.\n\n- On a Sunday morning, a matter happened in the region.\n- There was a man called Kwame who was... |
pristine-18 | pristine | null | [
{
"role": "user",
"content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\nReflecting on the year we are ending, it is no small matter. COVID-19 hit us hard; it destroyed businesses, destroyed many things, and brought sorrow to every home. It ... |
Twi-English Reasoning Translation Dataset
Chain-of-thought English<->Twi (Akan) translation data, generated for fine-tuning
MiniCPM5-1B. Each row is a two-turn
chat conversation: the user asks for a translation, the assistant answers with its
reasoning inside <think>...</think> (matching MiniCPM5-1B's chat template, which
splits assistant content on those tags) followed by the translation itself.
Sources
| source | direction | rows | translation |
|---|---|---|---|
pristine (from ghananlpcommunity/pristine-twi-english) |
English -> Twi | 70,000 | gold reference (Gemini only explains the reasoning, never re-translates) |
ghana_chat_en2tw (from michsethowusu/ghana-chat-corpus-ak) |
English -> Twi | 50,000 | gold reference |
ghana_chat_tw2en (same corpus, disjoint sample) |
Twi -> English | 50,000 | gold reference |
asr (from ghananlpcommunity/twi-health-asr-gemini-500hrs transcriptions) |
Twi -> English | 59,291 | fully generated by Gemini (no gold reference exists) |
For the three "gold reference" sources, Gemini is given the source sentence AND its
existing correct translation, and asked only to explain the grammatical/idiomatic
reasoning connecting them -- it never generates or alters the translation itself, so
those outputs can't drift from the vetted parallel text. Only the asr source has
Gemini generate a real translation, since no reference exists for those transcripts.
Markdown augmentation
Roughly 70% of rows have 2-3 stacked Markdown techniques applied to the SAME sentence(s) on both the source and translated text, so the model learns to carry Markdown formatting through translation instead of stripping it:
- a heading on its own line (
## sentence) on almost every augmented row -- about 1/3 of those are rendered in ALL CAPS, the rest normal case - one body-wide structure on top: numbered list, bullet list, table, or bold paragraph
- 0-2 inline spot styles (bold or italic) on individual sentences, which can nest inside an already-listified body
Format
{
"id": "...",
"source": "pristine | ghana_chat_en2tw | ghana_chat_tw2en | asr",
"markdown": "heading,numbered_list,bold_sentence (or null if unaugmented)",
"messages": [
{"role": "user", "content": "Translate the following English text into Twi (Akan). Return only the translation with no additional text.\n\n<text>"},
{"role": "assistant", "content": "<think>\n<reasoning>\n</think>\n\n<translation>"}
]
}
Generation scripts
The exact scripts used to build this dataset are included under scripts/:
sources.py-- samples/extracts source text from the three underlying HF datasets (column-projected reads, so audio/unused columns are never downloaded)pipeline.py-- async Gemini-based translation + reasoning generation engine, rate-limited and resumablemarkdown_augment.py-- the Markdown-mirroring augmentation described abovepush_conversations.py-- converts generated rows into the chat-format conversations above and pushes them to the Hubrun_full.py-- orchestrates the full run across all four sources concurrently, pushing an updated snapshot to this repo every 5,000 new rows
Reasoning/translation generation model: Gemini (gemini-3.6-flash), via the
google-genai SDK.
- Downloads last month
- 27