arisridwan/islamgpt-id
Text Generation • 5B • Updated • 214
Error code: ConfigNamesError
Exception: AttributeError
Message: 'str' object has no attribute 'items'
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
config_names = get_dataset_config_names(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1032, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1007, in dataset_module_factory
).get_module()
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 685, in get_module
config_name: DatasetInfo.from_dict(dataset_info_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/info.py", line 284, in from_dict
return cls(**{k: v for k, v in dataset_info_dict.items() if k in field_names})
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'items'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.
A multilingual Quran dataset containing the original Arabic text along with translations in multiple languages: Bangla, English, Spanish, French, Indonesian, Russian, Turkish, and Chinese. Each verse includes metadata such as chapter number, verse number, chapter names, transliterations, and verse text in all available languages.
ar, bn, en, es, fr, id, ru, tr, zh Each record in the dataset represents a single verse and contains the following fields:
| Field | Description |
|---|---|
id |
Verse ID in the format chapter:verse (e.g., 1:1) |
chapter_number |
Surah (chapter) number |
chapter_name |
Chapter name in Arabic |
verse_number |
Verse number within the chapter |
chapter_type |
meccan or medinan |
total_verses |
Total number of verses in the chapter |
text_ar |
Original Arabic text of the verse |
text_bn |
Verse translation in Bangla |
text_en |
Verse translation in English |
text_es |
Verse translation in Spanish |
text_fr |
Verse translation in French |
text_id |
Verse translation in Indonesian |
text_ru |
Verse translation in Russian |
text_tr |
Verse translation in Turkish |
text_zh |
Verse translation in Chinese |
pandas:
import pandas as pd
# JSONL version
df = pd.read_json("quran_combined.jsonl", lines=True)
print(df.head())
# Parquet version
df_parquet = pd.read_parquet("quran_combined.parquet")
print(df_parquet.head())