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
list<item: struct<section_id: string, title: string>>
to
{'section_id': Value('string'), 'title': Value('string')}
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 674, 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 2224, in cast_table_to_schema
                  cast_array_to_feature(
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2092, 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
              list<item: struct<section_id: string, title: string>>
              to
              {'section_id': Value('string'), 'title': 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 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 1736, 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 1919, 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.

source_file
string
title
string
table_of_contents
dict
front_matter
string
chapters
dict
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1", "title": "Introduction to Life Sciences" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{"chapter_id":"1","content":"Chapter 1.\nIntroduction to Life Sciences\n\n• Medical doctor or nurs(...TRUNCATED)
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.1", "title": "About this chapter" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{ "chapter_id": "1.1", "content": "", "title": "About this chapter" }
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.2", "title": "What is Life Sciences?" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{ "chapter_id": "1.2", "content": "", "title": "What is Life Sciences?" }
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.3", "title": "Why study Life Sciences?" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{ "chapter_id": "1.3", "content": "", "title": "Why study Life Sciences?" }
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.4", "title": "How science works" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{"chapter_id":"1.4","content":"1.4\nHow science works\nDUMMY\nScience investigation and research req(...TRUNCATED)
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.5", "title": "Biological drawings and diagrams" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{"chapter_id":"1.5","content":"1.5\nBiological drawings and diagrams\nDUMMY\nDrawings and diagrams a(...TRUNCATED)
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.6", "title": "Tables" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{"chapter_id":"1.6","content":"1.6\nTables\nDUMMY\nWhat is a table?\n• A table is a summary of dat(...TRUNCATED)
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.7", "title": "How to draw graphs in Science" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{"chapter_id":"1.7","content":"1.7\nHow to draw graphs in Science\nDUMMY\nPresenting data graphicall(...TRUNCATED)
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.8", "title": "Mathematical skills in Life Sciences" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{"chapter_id":"1.8","content":"1.8\nMathematical skills in Life Sciences\nDUMMY\nMathematical skills(...TRUNCATED)
Gr10_LifeSciences_Learner_Eng.txt
Grade 10 LifeSciences
{ "section_id": "1.9", "title": "Lab safety procedures" }
"GRADE 10\nWRITTEN BY VOLUNTEERS\nVERSION 1 CAPS\nLIFE SCIENCES\nEVERYTHING SCIENCE \nBY\nMEDULLA OB(...TRUNCATED)
{"chapter_id":"1.9","content":"1.9\nLab safety procedures\nDUMMY\nThe Life Science Laboratory has ru(...TRUNCATED)
End of preview.

Tushe Community Grade School STEM

Open dataset of grade-school STEM (Science, Technology, Engineering, Mathematics) textbooks, curated for Tushe Community and aligned with curriculum use (e.g. CAPS-aligned content).

Data Fields (per book JSON)

Field Type Description
source_file string Original .txt filename
title string Derived book title (e.g. "Grade 8A Mathematics")
table_of_contents list [{ "section_id", "title" }, ...]
front_matter string Intro, copyright, TOC block
chapters list [{ "chapter_id", "title", "content" }, ...]

File Naming

  • Gr{Grade}{Part}_*_Learner_Eng.json / *_Teacher_Eng.json
  • Examples: Gr8A_Mathematics_Learner_Eng.json, Gr10_PhysicalSciences_Teacher_Eng.json

Intended Use

  • Curriculum-aligned teaching and learning
  • Building educational tools (e.g. search, Q&A, revision)
  • Research in education and NLP
  • Redistribution and adaptation under the dataset license

Source and License

  • Original textbooks: Siyavula / Sasol Inzalo Foundation / Ukuqonda Institute (CAPS-aligned, open-licensed).
  • Processing: PDF → OCR → TOC extraction → chapter/section splitting → JSON; character corrections applied.
  • Dataset license: CC-BY-4.0 (attribution required; derivatives allowed).
  • Original book licenses: See each book’s front matter (e.g. CC-BY-ND, CC-BY-NC) where applicable.

Citation

If you use this dataset, please cite Tushe Community and the source textbooks:

@misc{tushe-community-grade-school-stem,
  title        = {Tushe Community Grade School STEM},
  author       = {Tushe Community},
  year         = {2026},
  publisher    = {Hugging Face},
  url          = {https://huggingface.co/datasets/AlaminI/tushe-grade-school-stem},
  note         = {Open dataset of grade-school STEM textbooks (Siyavula, CAPS-aligned)}
}

Contact

Downloads last month
22