The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
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 13 new columns ({'pembukaan_surat', 'terjemah', 'tafsir_wajiz', 'kosakata', 'footnotes', 'ayat_key', 'tafsir_tahlili', 'latin', 'nama_surat', 'asbabun_nuzul', 'penutup_surat', 'ayat', 'kesimpulan'}) and 2 missing columns ({'answer', 'query'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ramadita/Indo-Islamic-QA/knowledge-base/knowledge_base.csv (at revision 78016dc2ca4341662bccda9c1e773998d4072fa1)
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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id: int64
nama_surat: string
ayat: string
ayat_key: string
terjemah: string
latin: string
footnotes: string
tafsir_wajiz: string
tafsir_tahlili: string
pembukaan_surat: string
penutup_surat: string
kosakata: string
asbabun_nuzul: string
kesimpulan: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1921
to
{'id': Value('int64'), 'query': Value('string'), 'answer': 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 1456, 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 1055, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1833, 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 13 new columns ({'pembukaan_surat', 'terjemah', 'tafsir_wajiz', 'kosakata', 'footnotes', 'ayat_key', 'tafsir_tahlili', 'latin', 'nama_surat', 'asbabun_nuzul', 'penutup_surat', 'ayat', 'kesimpulan'}) and 2 missing columns ({'answer', 'query'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ramadita/Indo-Islamic-QA/knowledge-base/knowledge_base.csv (at revision 78016dc2ca4341662bccda9c1e773998d4072fa1)
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.
id int64 | query string | answer string |
|---|---|---|
0 | doa nabi musa | 2373, 2374, 2375, 2376 |
2 | saya sedang sakit bolehkah saya tidak puasa? | 191 |
3 | dosa saya sudah banyak apakah saya masih bisa diampuni sama Allah? | 4111, 4112, 1339, 603, 639, 743 |
4 | ayat yang bilang semua kesulitan pasti ada jalan keluar | 162, 223, 293, 5956, 6095, 6096 |
5 | apa hukumnya musik dalam islam? | 3475 |
6 | apa doa nabi adam ketika bertobat? | 977 |
7 | berapa lama allah menciptakan alam semesta? | 1008, 3507, 1480, 4668, 4230, 5079 |
8 | apakah islam membolehkan poligami? | 496 |
11 | gimana caranya ningkatin iman? | 704, 1162, 3347, 3643 |
12 | Bagaimana cara mendapatkan ketenangan hati melalui ajaran Al-Quran? | 1735, 160, 2111, 944 |
13 | Bagaimana hukum berniaga? | 282, 205, 522, 3113, 3114, 3115 |
14 | Apakah tugas manusia hanya perlu hidup semaksimal nya dan ikhlas ketika diberi cobaan? | 162, 163, 164, 293 |
15 | ayat tentang wudhu | 675 |
16 | ayat yang memerintahkan kita untuk sholat | 50, 52, 117, 596, 3385, 3440, 951, 2107, 2673, 3426, 3427, 4731, 6135 |
17 | Bagaimana bentuk bumi? | 5678, 5742, 5438, 4723, 6049 |
19 | Saya merasa anxiety bagaimana caranya agar menanganinya? | 1682, 2373, 2374, 2375, 2376 |
20 | Mengapa Allah Menunjuk beberapa malaikat untuk melakukan tugas tertentu padahal Dia Sendiri bisa Melakunya ? | 3952, 2510, 2511, 1951, 5717, 5235 |
21 | Hukum Membeli Rumah Dengan Cara Riba di Negeri Non Muslim | 282, 285, 286 |
22 | bagaimana cara membagi harta warisan? | 504, 505, 506, 500, 501, 526, 669, 498, 499 |
23 | Bagaimana cara kita meminta perlindungan dari godaan setan? | 1154, 1155, 2770, 2771, 4254, 6226, 6227, 6228, 6229, 6230, 6231, 6232, 6233, 6234, 6235, 6236, 1999, 2000, 2001, 262, 2094 |
24 | Bagaimana cara memuliakan orang tua menurut Al-Qur'an? | 90, 4525, 4256, 4527, 2052, 2053, 222, 3348, 3483, 3484 |
26 | Bagaimana jika kita kesulitan dalam membayar hutang? | 287 |
27 | adakah sesuatu yang haram untuk dimakan? | 180, 672, 2016, 934, 933, 932, 931, 386 |
28 | Apa yang harus dilakukan ketika menghadapi konflik atau perbedaan pendapat? | 528, 4621 |
29 | Apa keutamaan bersedekah menurut ajaran Islam? | 268, 278, 427, 607, 5093, 3645 |
30 | Mengapa kita harus menikah? | 2823, 1973, 4756 |
31 | Apakah wajib wanita haid untuk sholat? | 536 |
1 | null | null |
2 | null | null |
3 | null | null |
4 | null | null |
5 | null | null |
6 | null | null |
7 | null | null |
8 | null | null |
9 | null | null |
10 | null | null |
11 | null | null |
12 | null | null |
13 | null | null |
14 | null | null |
15 | null | null |
16 | null | null |
17 | null | null |
18 | null | null |
19 | null | null |
20 | null | null |
21 | null | null |
22 | null | null |
23 | null | null |
24 | null | null |
25 | null | null |
26 | null | null |
27 | null | null |
28 | null | null |
29 | null | null |
30 | null | null |
31 | null | null |
32 | null | null |
33 | null | null |
34 | null | null |
35 | null | null |
36 | null | null |
37 | null | null |
38 | null | null |
39 | null | null |
40 | null | null |
41 | null | null |
42 | null | null |
43 | null | null |
44 | null | null |
45 | null | null |
46 | null | null |
47 | null | null |
48 | null | null |
49 | null | null |
50 | null | null |
51 | null | null |
52 | null | null |
53 | null | null |
54 | null | null |
55 | null | null |
56 | null | null |
57 | null | null |
58 | null | null |
59 | null | null |
60 | null | null |
61 | null | null |
62 | null | null |
63 | null | null |
64 | null | null |
65 | null | null |
66 | null | null |
67 | null | null |
68 | null | null |
69 | null | null |
70 | null | null |
71 | null | null |
72 | null | null |
73 | null | null |
End of preview.