Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'A424T233', 'Q10096T233', 'A403T211'}) and 3 missing columns ({'A028T002', 'Q00487T001', 'A020T001'}).
This happened while the csv dataset builder was generating data using
hf://datasets/C4IR-RW/kinya-ag-retrieval/rw_ag_retrieval_qpntriplets_dev.tsv (at revision bf789d3504eb129de9df8573e94512a80ecd86c8), [/tmp/hf-datasets-cache/medium/datasets/27990121838269-config-parquet-and-info-C4IR-RW-kinya-ag-retrieva-16cdc461/hub/datasets--C4IR-RW--kinya-ag-retrieval/snapshots/bf789d3504eb129de9df8573e94512a80ecd86c8/rw_ag_retrieval_qpntriplets_dev.tsv (origin=hf://datasets/C4IR-RW/kinya-ag-retrieval@bf789d3504eb129de9df8573e94512a80ecd86c8/rw_ag_retrieval_qpntriplets_dev.tsv)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Q10096T233: string
A424T233: string
A403T211: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 615
to
{'Q00487T001': Value('string'), 'A020T001': Value('string'), 'A028T002': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'A424T233', 'Q10096T233', 'A403T211'}) and 3 missing columns ({'A028T002', 'Q00487T001', 'A020T001'}).
This happened while the csv dataset builder was generating data using
hf://datasets/C4IR-RW/kinya-ag-retrieval/rw_ag_retrieval_qpntriplets_dev.tsv (at revision bf789d3504eb129de9df8573e94512a80ecd86c8), [/tmp/hf-datasets-cache/medium/datasets/27990121838269-config-parquet-and-info-C4IR-RW-kinya-ag-retrieva-16cdc461/hub/datasets--C4IR-RW--kinya-ag-retrieval/snapshots/bf789d3504eb129de9df8573e94512a80ecd86c8/rw_ag_retrieval_qpntriplets_dev.tsv (origin=hf://datasets/C4IR-RW/kinya-ag-retrieval@bf789d3504eb129de9df8573e94512a80ecd86c8/rw_ag_retrieval_qpntriplets_dev.tsv)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
Q00487T001 string | A020T001 string | A028T002 string |
|---|---|---|
Q00487T001 | A020T001 | A029T003 |
Q00487T001 | A020T001 | A030T004 |
Q00487T001 | A020T001 | A031T005 |
Q00487T001 | A020T001 | A032T006 |
Q00487T001 | A020T001 | A033T007 |
Q00487T001 | A020T001 | A034T008 |
Q00487T001 | A020T001 | A035T009 |
Q00487T001 | A020T001 | A036T011 |
Q00487T001 | A020T001 | A037T014 |
Q00487T001 | A020T001 | A039T033 |
Q00487T001 | A020T001 | A042T030 |
Q00487T001 | A020T001 | A044T010 |
Q00487T001 | A020T001 | A045T017 |
Q00487T001 | A020T001 | A046T018 |
Q00487T001 | A020T001 | A047T020 |
Q00487T001 | A020T001 | A048T021 |
Q00487T001 | A020T001 | A109T019 |
Q00487T001 | A020T001 | A533T344 |
Q00487T001 | A020T001 | A944T988 |
Q00487T001 | A020T001 | A691T510 |
Q00487T001 | A020T001 | A600T412 |
Q00487T001 | A020T001 | A425T234 |
Q00487T001 | A020T001 | A621T434 |
Q00487T001 | A020T001 | A788T635 |
Q00487T001 | A020T001 | A824T862 |
Q00487T001 | A020T001 | A542T354 |
Q00487T001 | A020T001 | A629T442 |
Q00487T001 | A020T001 | A850T889 |
Q00487T001 | A020T001 | A728T543 |
Q00487T001 | A020T001 | A096T078 |
Q00487T001 | A020T001 | A428T237 |
Q00487T001 | A020T001 | A135T115 |
Q00487T001 | A020T001 | A314T745 |
Q00487T001 | A020T001 | A886T927 |
Q00487T001 | A020T001 | A766T594 |
Q00487T001 | A020T001 | A431T240 |
Q00487T001 | A020T001 | A274T705 |
Q00487T001 | A020T001 | A519T330 |
Q00487T001 | A020T001 | A386T817 |
Q00487T001 | A020T001 | A701T505 |
Q00487T001 | A020T001 | A690T509 |
Q00487T001 | A020T001 | A738T554 |
Q00487T001 | A020T001 | A275T706 |
Q00487T001 | A020T001 | A809T847 |
Q00487T001 | A020T001 | A590T402 |
Q00487T001 | A020T001 | A317T748 |
Q00487T001 | A020T001 | A460T269 |
Q00487T001 | A020T001 | A919T963 |
Q00487T001 | A020T001 | A345T776 |
Q00487T001 | A020T001 | A860T900 |
Q00487T001 | A020T001 | A234T660 |
Q00487T001 | A020T001 | A617T429 |
Q00487T001 | A020T001 | A239T665 |
Q00487T001 | A020T001 | A353T784 |
Q00487T001 | A020T001 | A546T358 |
Q00487T001 | A020T001 | A840T878 |
Q00487T001 | A020T001 | A251T678 |
Q00487T001 | A020T001 | A388T819 |
Q00487T001 | A020T001 | A678T490 |
Q00487T001 | A020T001 | A807T845 |
Q00487T001 | A020T001 | A624T437 |
Q00487T001 | A020T001 | A509T320 |
Q00487T001 | A020T001 | A006T634 |
Q00487T001 | A020T001 | A644T457 |
Q00487T001 | A020T001 | A599T411 |
Q00487T001 | A020T001 | A827T865 |
Q00487T001 | A020T001 | A185T166 |
Q00487T001 | A020T001 | A221T202 |
Q00487T001 | A020T001 | A816T854 |
Q00487T001 | A020T001 | A267T698 |
Q00487T001 | A020T001 | A966T1013 |
Q00487T001 | A020T001 | A806T844 |
Q00487T001 | A020T001 | A901T944 |
Q00487T001 | A020T001 | A462T271 |
Q00487T001 | A020T001 | A474T283 |
Q00487T001 | A020T001 | A757T585 |
Q00487T001 | A020T001 | A265T696 |
Q00487T001 | A020T001 | A930T974 |
Q00487T001 | A020T001 | A395T828 |
Q00487T001 | A020T001 | A101T081 |
Q00487T001 | A020T001 | A905T948 |
Q00487T001 | A020T001 | A321T752 |
Q00487T001 | A020T001 | A756T583 |
Q00487T001 | A020T001 | A490T301 |
Q00487T001 | A020T001 | A821T859 |
Q00487T001 | A020T001 | A259T690 |
Q00487T001 | A020T001 | A693T512 |
Q00487T001 | A020T001 | A526T337 |
Q00487T001 | A020T001 | A136T116 |
Q00487T001 | A020T001 | A549T361 |
Q00487T001 | A020T001 | A670T484 |
Q00487T001 | A020T001 | A773T604 |
Q00487T001 | A020T001 | A193T174 |
Q00487T001 | A020T001 | A092T074 |
Q00487T001 | A020T001 | A407T215 |
Q00487T001 | A020T001 | A483T292 |
Q00487T001 | A020T001 | A831T869 |
Q00487T001 | A020T001 | A888T929 |
Q00487T001 | A020T001 | A413T221 |
Q00488T001 | A020T001 | A028T002 |
Kinyarwanda Agricultural Retrieval Dataset
In Rwanda, many farmers struggle to access timely, personalized agricultural information. Traditional channels - like radio, TV, and online sources - offer limited reach and interactivity, while extension services and a national call center, staffed by only two agents for over two million farmers, face capacity constraints. To address these gaps, we developed a 24/7 AI-enabled Interactive Voice Response (IVR) tool. Accessible via a Kinyarwanda-speaking hotline, this tool provides advisory on topics such as pest and disease diagnosis and agro-climatic practices, as well as information on MINAGRI’s support programs for farmers, e.g. crop insurances. By utilizing AI and IVR technology, this project will make agricultural advisories more accessible, timely, and responsive to farmers’ needs. For more information, please reach out to C4IR.
Implemented by: C4IR Rwanda & KiNLP; Supported by GIZ; Financed by: BMZ.
Technical Documentation
The dataset is intended for training passage retrieval and ranking models for Kinyarwanda language in agricultural domain. The contains 984 kinyarwanda passages about different topics in agriculture and 19537 questions related to those passages. The training data is formed in triplet format, where each query gets associated with the corresponding answer (positive passage) and a set of irrelevant passages.
List of released data files:
| File | Number of rows | Description |
|---|---|---|
| rw_ag_retrieval_answers.tsv | 984 | List of two-column passage ID and passage text |
| rw_ag_retrieval_passage_id.txt | 984 | List of passage ids |
| rw_ag_retrieval_passage_text.txt | 984 | List of passage text in the same order as passage ids |
| rw_ag_retrieval_qpntriplets_all.tsv | 1,953,700 | List of all triplet ids: Query, Positive Passage, Negative Passage |
| rw_ag_retrieval_qpntriplets_dev.tsv | 19,600 | List of triplet ids (development set): Query, Positive Passage, Negative Passage |
| rw_ag_retrieval_qpntriplets_test.tsv | 32,900 | List of triplet ids (test set): Query, Positive Passage, Negative Passage |
| rw_ag_retrieval_qpntriplets_train.tsv | 1,901,200 | List of triplet ids (training set): Query, Positive Passage, Negative Passage |
| rw_ag_retrieval_query_id.txt | 19,537 | List of question ids |
| rw_ag_retrieval_query_text.txt | 19,537 | List of query text in the same order as ids |
| rw_ag_retrieval_questions.tsv | 19,537 | List of two-column question ID and question text |
| parsed_rw_ag_retrieval_passage_text.txt | 984 | Morphologically parsed list of passage text in the same order as passage ids |
| parsed_rw_ag_retrieval_query_text.txt | 19,537 | Morphologically parsed list of query text in the same order as query ids |
License
This model is licensed under the Creative Commons Attribution 4.0 International License (CC-BY 4.0).
Attribution: Please attribute this work to C4IR Rwanda and KiNLP.
- Downloads last month
- 12