Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<checkworthy: struct<type: string, instructions: string>, gov_stance: struct<type: string, instructions: string, criteria: struct<supportive: string, critical: string, neutral: string, not_about_government: string>>>
to
{'answer_type': {'type': Value('string'), 'instructions': Value('string'), 'criteria': {'yes_no': Value('string'), 'number': Value('string'), 'date_time': Value('string'), 'entity': Value('string')}}}
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<checkworthy: struct<type: string, instructions: string>, gov_stance: struct<type: string, instructions: string, criteria: struct<supportive: string, critical: string, neutral: string, not_about_government: string>>>
              to
              {'answer_type': {'type': Value('string'), 'instructions': Value('string'), 'criteria': {'yes_no': Value('string'), 'number': Value('string'), 'date_time': Value('string'), 'entity': Value('string')}}}
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1879, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

task
string
state
dict
questions
dict
expected
dict
language
string
answer_type
{ "text": "What clothing is worn in the celebration of the Obon festival?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
en
answer_type
{ "text": "What is Gcina Mhlophe's full name?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
en
answer_type
{ "text": "Je, somo la anatomia ya kimbingu inafunzwa katika vyuo vikuu vya Kenya?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "yes_no" }
sw
answer_type
{ "text": "Unifasiiti meloo lo ti wa ni Switsalandi ni ọdun 2021?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "number" }
null
answer_type
{ "text": "UZanele kaMagwaza-Msibi ushiye ngamuphi unyaka kwiNkatha?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
null
answer_type
{ "text": "Bibi ya Ibn Khaldūn alikuwa anaitwa aje?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Kedụ ndi chepụtara maka Goge Africa?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Je, Irene Sanga alianza mziki lini?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "date_time" }
sw
answer_type
{ "text": "Kasoko ya Ngorongoro ina ukubwa gani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Wace kasa ce ta lashe AFCON 2021?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Has Wahab Dosunmu ever been a president of Nigeria?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "yes_no" }
en
answer_type
{ "text": "Kedụ aha a na akpọ dọkita n'ahụ maka ihe gbasara ụmụ anụmanụ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Julli àjjuma ñaata ràkkaa la ?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Bushe ba Revolutionary Socialist Party baliwine ukusala kwa ntungulushi kwaliko mu 1991?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "yes_no" }
null
answer_type
{ "text": "Yara nawa jarumi Ali Nuhu ya haifa?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "ni ibihe bihugu bikunze kweramo urubuto rw'umugati?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
rw
answer_type
{ "text": "Obani abalingisi be-Bad Cat?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Bushe mu caalo mwaba ifilengwa na Lesa ifipapo fiinga?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Bawo ni ilu Rẹmọ ṣe jin si Ilu Eko si?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Niabu wa katibu wa Ufashisti mwaka wa 1922 anaitwa nani?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Wanene ya jagoranci fim din 2009 \"Jamila da Jamilu\"?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "In which year did Sjava win the BET award for Best New Internation Act?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
en
answer_type
{ "text": "When was the Commonwealth of Independent States established?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
en
answer_type
{ "text": "What country is known for Makossa music?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
en
answer_type
{ "text": "Ọchịchị ime obodo ole dị na Anambra?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "A alkaliman gobnati, wace jiha ce mafi yawan jama'a a Nigeria?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Kedụ aha mahadum mbụ n'Amerika?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Mama ya Christopher Richard Mwashinga alikuwa nani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Yasungulwa ubani i-ANC?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "iru orin wo ni olorin Tope Alabi ma nko?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Who is the 46th president of America?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
en
answer_type
{ "text": "yethulwa nini i-YouTube?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
null
answer_type
{ "text": "Wanene Oduduwa a tarihin yarabawa?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Je,Toni Kroos ana watoto wangapi?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "Ci ban xare lañu manoon jullit ñi ?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Man réew moo féete Senegaal penku ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Je,Wamaragoli huzungumza lugha gani?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "I-UNESCO ilandela yiphi indlela ukuqoka izindawo ezingamagugu omhlaba?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Gazeti la kwanza kuchapishwa nchini Kenya linaitwaje?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Sika bɛn na wɔde di dwuma wɔ Switzerland?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Mkoa wa Shinyanga umekuwa na viongozi wangapi?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "Mɛ wɛ nyǐ nyɔ̌nù nukɔn tɔ̀n e biɔ \"Académie Française\" mɛ ɖo 1980?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Ban bés mooy màggalug jonnug Etaasóni ?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Rais wa Korea ya Kusini alihudhuria chuo kikuu gani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Kondoo hubeba mima kwa miezi ngapi?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "Je, Junior Braithwaite alianza mziki lini?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "date_time" }
sw
answer_type
{ "text": "Sun Yat-sen alikuwa ameoa?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "yes_no" }
sw
answer_type
{ "text": "Pali bakateka batekapo icalo ca zambia ni banga bafwa?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Hwe nabí Diduer Drogba ɖŏ ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Bushe bakalemba ba baibolo bali banga?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Dɛn ne akwampaefo a wotu kwan a etwa to a wɔfrɛɛ wɔn Orville ne Wilbur?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Where was Saddam Hussein Abd al-Majid al-Tikriti born?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
en
answer_type
{ "text": "Jina halisi la Jay Z, ni lipi?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Calo nshi cacilika mu fya science ku South Amerika?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Kuna nchi ngapi katika ncha ya kusini?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "Afrig ñaata réew la ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Ñaata yónnent la Alxuraan tudd seen tur ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Chama cha Liberal Democratic Party kilianzishwa mwaka gani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
sw
answer_type
{ "text": "Kedụ oge kachasi mma edekọtara maka 100M sprinta ụmụ nwanyi?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Mekatilili Wa Menza alikuwa na watoto?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "How many states are in Nigeria?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
en
answer_type
{ "text": "Je, kocha wa kwanza wa klabu ya Watford anaitwa nani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Bushe mu mulungu mwaba inshiku shinga?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Mantam bεn mu na Pope Johns Seminary ntoasoᴐ sukuu wᴐ?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Je,kwa mujibu wa sensa 2012 Tanzania ilikuwa na wanawake wangapi?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "Je,mwanamziki Richie Spice alianza mziki mwaka upi?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
sw
answer_type
{ "text": "Wufre Italian-French nwomtoni Carla Bruni kunu sen?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Maandishi huandikwa kwa safu aina ngapi?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "Ikọ agbabọọlu wo lo gba ipo akọkọ ni UEFA Champions league ti 2020?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Bushe nani walembele ibuuku lya kwa Yuda?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "UQedani Dorothy Mahlangu wabusiswa ngabantwana abangaki?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Bushe icalo ca Senegal cakwata isha mfumu shinga?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "number" }
null
answer_type
{ "text": "kedụ afọ Idi Amin onye Uganda nwụrụ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
null
answer_type
{ "text": "Ubani unkosikazi kaChris Hani?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Sossusvlei ina ukubwa kiasi gani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "What were Ibn Khaldūn's parents called?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
en
answer_type
{ "text": "Willian Borges da Silva alianza kucheza soka akiwa na miaka mingapi?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Kalenda ya Gregori iligunduliwa mwaka gani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
sw
answer_type
{ "text": "azɔ̀n nabí France blŏ \"Jeux Olympiques d'hiver\" ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Fí tɛ nù wɛ nyí PDD Dahomey tɔ̀n ?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Itholakala kuphi i-Apartheid Museum?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "How many districts does Algeria have?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
en
answer_type
{ "text": "Njitu réewum Senegaal ñaata at lañu koy fal ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
null
answer_type
{ "text": "Ugonjwa wa kwanza wa polio ulipatikana wapi?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "ninde muyobozi wa leta ya Texas muri Amerika?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
rw
answer_type
{ "text": "Uma kulotsholwa intombazane eseyitshitshi ngokosiko lakwaZulu, ibizwa ngani inkomo yeshuminanye?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Ithini incazelo engokomoya yesundu?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Ͻman bεn mu na Ballet asaw no fi?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Kuna idadi ngapi ya watu wa kabila la wamalila?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "number" }
sw
answer_type
{ "text": "Afe bɛn mu na Azad Hind Radio Ɔsom Adwuma no fii ase?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Asubɔnten bɛn na ɛsen fa Grand Canyon?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "William Mshindi aliaga dunia mwaka upi?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "date_time" }
sw
answer_type
{ "text": "Mume wa Nancy Abraham Sumari anaitwa nani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Kurow bεn mu na wobehu Parthenon no wᴐ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
null
answer_type
{ "text": "Nigba wo lọ da egbe agbabọọlu Real Madrid silẹ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
null
answer_type
{ "text": "Hwe tɛ nu tonuklájέtɔ́ lɛɛ wă Africa ?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "date_time" }
null
answer_type
{ "text": "The Palace of the Lost City is a hotel complex in which resort in South Africa?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
en
answer_type
{ "text": "Ishyaka riri kubutegetsi muri Kaliforuniya ni irihe?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
rw
answer_type
{ "text": "Waziri mkuu wa kwanza wa nchi ya Tanzania anaitwa nani?" }
{ "answer_type": { "type": "choice", "instructions": "What kind of answer does the question in `text` expect?", "criteria": { "yes_no": "yes or no", "number": "a number, amount or quantity", "date_time": "a date, year or time", "entity": "a name of a person, place, organisation or ...
{ "answer_type": "entity" }
sw
answer_type
{ "text": "Ngubani umdlali onamagoli amaningi kunabo bonke kuyo yonke imiqhudelwano eqenjini labesilisa llikanobhutshuzwayo laseNingizimu Afrika?" }
{ "answer_type": { "type": "choice", "instructions": "Swali lililo kwenye `text` linatarajia jibu la aina gani?", "criteria": { "yes_no": "ndiyo au hapana", "number": "namba, kiasi au idadi", "date_time": "tarehe, mwaka au muda", "entity": "jina la mtu, mahali, taasisi au kitu" ...
{ "answer_type": "entity" }
null
End of preview.

Mwamuzi-Data v0.2: multi-task Swahili-first decision data

Training and evaluation data for a general System 1 decision model, built Swahili-first with multilingual coverage. All rows are in Laya's {state, questions, expected} format. Every question has English and Swahili instruction variants, which share the same label keys.

Tasks

task what the model decides source train rows eval rows eval langs labels
guard language, domain, complexity, jailbreak, harmful, PII, crisis authored (v0.1 + 107 new train / 51 new eval) 1,656 ¹ 346 ² 4 authored, unreviewed
lang_id 12-way language ID + is-Swahili SIB-200, MasakhaNEWS headlines, AfriSenti tweets, AfriQA questions 7,049 2,574 237 ³ gold
topic_sib topic (7 classes) SIB-200 4,575 1,988 205 gold
news_topic news section (7 classes), long text MasakhaNEWS 4,393 1,326 16 gold
sentiment positive / negative / neutral AfriSenti SemEval-2023 4,462 1,628 12 gold
copa plausible cause / effect (reasoning) XCOPA 1,200 1,000 6 gold
answer_type yes-no / number / date / entity AfriQA queries 3,018 710 11 silver: rule-labelled from the human translation
harm harmful request + harm category (9) MultiJail + AfriQA benign questions + authored 2,409 913 14 gold
scam is scam + scam type (8 types) authored, Tanzanian mobile-money SMS 280 ¹ 52 ² 3 authored, unreviewed
toxicity offensive + target group authored 168 ¹ 40 ² 3 authored, unreviewed
claims check-worthy claim + stance toward government authored 140 ¹ 32 ² 2 authored, unreviewed
entities (nc/) mentions person / place / org / date MasakhaNER 2.0 3,194 800 9 gold, non-commercial

¹ Small authored sets appear 4× in training: in both instruction languages, and each repeated twice. ² Each eval row appears twice, once with English instructions and once with Swahili instructions (tag sw_instructions). ³ eval_langs counts language tags, including source-specific codes (e.g. AfriSenti's sw and SIB's swh_Latn).

Files

train_mix.jsonl            29,350 rows, all commercial-safe tasks, shuffled (use this to train)
train/<task>.jsonl         the same rows, one file per task (re-weight the mix yourself)
eval_suite_core.jsonl      3,548 rows, Swahili-focused plus 19 regional and major languages for lang_id (fast; run every experiment)
eval_suite_full.jsonl      10,609 rows, every language (run on release candidates)
eval/<task>.jsonl          per-task eval
eval/guard_v0.1_frozen.jsonl  the original 122-row guard eval, unchanged, so you can compare with your first Mwamuzi run
nc/entities_*.jsonl        CC BY-NC data, kept out of train_mix
tasks.json                 registry: questions, source, license, label quality, sizes
stats.json                 label distributions per task
review_sheet_v0.2_authored.csv  367 newly authored rows for native-speaker review

Eval rows carry tags: the task name, src:*, lang:*, core, sw_instructions, plus slices such as domain_boundary, complexity_anchor, jailbreak_neg, harmful_neg, idiom, benign, silver.

Train and evaluate

pip install laya

# 1. baseline (zero-shot)
python tools/run_eval.py --model multilingual --data v0.2/eval_suite_core.jsonl --out preds_base.jsonl

# 2. fine-tune
laya-train --data v0.2/train_mix.jsonl --eval v0.2/eval_suite_core.jsonl --base multilingual \
  --out ./mwamuzi-v0.2 --loss soft-ce --shuffle-options choice --epochs 3

# 3. fine-tuned
python tools/run_eval.py --model ./mwamuzi-v0.2 --data v0.2/eval_suite_core.jsonl --out preds_ft.jsonl
python tools/score.py preds_ft.jsonl --baseline preds_base.jsonl \
  --slices core,sw_instructions,domain_boundary,complexity_anchor,lang:swa,lang:sw --json report.json

score.py reports these metrics:

  • choice questions: accuracy and macro-F1.
  • yes/no questions: accuracy plus positive-class precision, recall and F1.
  • complexity score: exact accuracy, MAE and within-1 accuracy.
  • every question: ECE.
  • every task: all-questions exact match.

Reading the first Mwamuzi results

  • On the 122-row eval, one row is 0.82 points. The +0.82 on PII and harmful is one example, and the jailbreak "drop" is one example. Treat changes of under about 3 points as noise there.
  • Safety accuracy hides failures. About 85–94% of guard eval rows are negative, so always answering "no" scores around 90–95%. Judge jailbreak, harmful_request, contains_pii and crisis by F1 and recall on positives; the new scorer reports these.
  • Complexity and domain drive the low compound exact match. v0.2 adds explicit tie-break rules to their definitions, 107 new training rows built around domain boundaries and complexity anchors, and eval slices that measure both. Exact match on a 4-level complexity score is harsh, so also track within-1 accuracy.

Design decisions

  • No cross-split leakage, including across translations. SIB-200, XCOPA and MultiJail are parallel corpora:
    • SIB-200 uses the same item IDs per split in every language (verified), so its original splits are kept.
    • XCOPA trains only on the val items and evaluates on test.
    • MultiJail is split 80/20 by prompt ID, so no translation of an eval prompt appears in training.
    • Exact duplicates of eval text are also removed from training (15 rows).
  • Benign negatives for harm are real Swahili questions from AfriQA, not only statements, so the model can't learn the shortcut "a question means harmful".
  • The 8 non-Swahili, non-English MultiJail languages only carry harm_category (every MultiJail prompt is harmful, so they have no benign counterparts). This keeps harmful_request from learning "Bengali or Thai means harmful".
  • Swahili instructions on about 35% of public-task rows teach the model to accept Swahili-phrased questions without losing the English path.

Limitations

  1. The authored data hasn't been reviewed. This covers guard, scam, toxicity and claims, about 800 unique rows across v0.1 and v0.2. Run review_sheet_v0.2_authored.csv (and the v0.1 sheet) past two native speakers before publishing results on those tasks.
  2. The authored eval sets are small (scam 26, toxicity 20, claims 16 unique rows), so treat them as smoke tests until they grow.
  3. answer_type labels are rule-based (silver) and heavily skewed toward entity.
  4. Licenses:
    • SIB-200 text is CC BY-SA 4.0, so a redistributed derived dataset must keep that license.
    • I took MasakhaNEWS's AFL-3.0 from its dataset card; verify it.
    • MasakhaNER is CC BY-NC, so it stays in nc/.
  5. MultiJail contains disturbing prompts (violence, sexual exploitation). That's expected for safety training, but restrict who browses the raw files.
  6. SIB-200 repeats the same ~1,000 sentences in 205 languages, which makes it good for cross-lingual transfer but narrow in content.

Rebuild or extend

# clone the source repos into $MWAMUZI_RAW (default /home/claude/raw): dadelani/sib-200, masakhane-io/masakhane-news,
# afrisenti-semeval/afrisent-semeval-2023, cambridgeltl/xcopa, DAMO-NLP-SG/multilingual-safety-for-LLMs,
# masakhane-io/afriqa, masakhane-io/masakhane-ner
python src/build_v02.py && python src/registry.py

To add a task, add its question set to src/task_defs.py (English and Swahili) and a loader block to src/build_v02.py. The writer, leakage filter, tags and stats pick it up automatically.

Next sources to add. These are on Hugging Face, which wasn't reachable from the build environment:

  • MASSIVE sw-KE, for intent (60 classes) and assistant domain.
  • AfriXNLI and Belebele swh_Latn, for NLI and reading comprehension.
  • AfriHate swa, for real hate-speech labels to replace the authored toxicity set.
  • KenSwQuAD, for answerability.
  • AfriMMLU and Uhura, for knowledge-check tasks.
Downloads last month
87