Improve dataset card: Add metadata tags, GitHub link, full abstract, and sample usage
#2
by nielsr HF Staff - opened
123456789101116 unmodified lines28293031323334353616 unmodified lines535455565758---license: cc-by-nc-sa-4.0task_categories:- text-generationlanguage:- ensize_categories:- 100K<n<1Mdataset_info:features:- name: question16 unmodified lines- split: trainpath: data/train-*---# [MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoning](https://arxiv.org/abs/2507.16812)To develop AI scientists and support human researchers in advancing the frontiers of natural science discovery, we first present **TextbookReasoning**, an open dataset featuring truthful reference answers extracted from 12k university-level scientific textbooks, comprising 650k reasoning questions spanning 7 scientific disciplines. We further introduce **MegaScience**, a large-scale mixture of high-quality open-source datasets totaling 1.25 million instances, developed through systematic ablation studies that evaluate various data selection methodologies to identify the optimal subset for each publicly available scientific dataset.## The Curation of TextbookReasoning16 unmodified lines<img src="main_results.png" alt="Results" style="width:70%;"></div>## CitationCheck out our [paper](https://arxiv.org/abs/2507.16812) for more details. If you use our dataset or find our work useful, please cite1234567891011121314151617181916 unmodified lines36373839404142434445464748495051525316 unmodified lines707172737475767778798081828384858687888990919293949596979899100---language:- enlicense: cc-by-nc-sa-4.0size_categories:- 100K<n<1Mtask_categories:- text-generationlibrary_name: datasetstags:- science- reasoning- scientific-reasoning- question-answering- education- textbooksdataset_info:features:- name: question16 unmodified lines- split: trainpath: data/train-*---# [MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoning](https://arxiv.org/abs/2507.16812)## Dataset DescriptionScientific reasoning is critical for developing AI scientists and supporting human researchers in advancing the frontiers of natural science discovery. However, the open-source community has primarily focused on mathematics and coding while neglecting the scientific domain, largely due to the absence of open, large-scale, high-quality, verifiable scientific reasoning datasets. To bridge this gap, we first present TextbookReasoning, an open dataset featuring truthful reference answers extracted from 12k university-level scientific textbooks, comprising 650k reasoning questions spanning 7 scientific disciplines. We further introduce MegaScience, a large-scale mixture of high-quality open-source datasets totaling 1.25 million instances, developed through systematic ablation studies that evaluate various data selection methodologies to identify the optimal subset for each publicly available scientific dataset. Meanwhile, we build a comprehensive evaluation system covering diverse subjects and question types across 15 benchmarks, incorporating comprehensive answer extraction strategies to ensure accurate evaluation metrics. Our experiments demonstrate that our datasets achieve superior performance and training efficiency with more concise response lengths compared to existing open-source scientific datasets. Furthermore, we train Llama3.1, Qwen2.5, and Qwen3 series base models on MegaScience, which significantly outperform the corresponding official instruct models in average performance. In addition, MegaScience exhibits greater effectiveness for larger and stronger models, suggesting a scaling benefit for scientific tuning. We release our data curation pipeline, evaluation system, datasets, and seven trained models to the community to advance scientific reasoning research.## Links- **Paper:** [MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoning](https://arxiv.org/abs/2507.16812)- **GitHub Repository:** [https://github.com/GAIR-NLP/MegaScience](https://github.com/GAIR-NLP/MegaScience)## The Curation of TextbookReasoning16 unmodified lines<img src="main_results.png" alt="Results" style="width:70%;"></div>## Sample UsageYou can easily load this dataset using the Hugging Face `datasets` library:```pythonfrom datasets import load_dataset# Load the "TextbookReasoning" datasetdataset = load_dataset("MegaScience/TextbookReasoning")# Access the training splittrain_data = dataset["train"]# Print the first exampleprint(train_data[0])# Example output structure:# {# 'question': 'What are the three main types of rocks?',# 'answer': 'The three main types of rocks are igneous, sedimentary, and metamorphic.',# 'subject': 'geology',# 'reference_answer': 'Igneous, sedimentary, and metamorphic.'# }```## CitationCheck out our [paper](https://arxiv.org/abs/2507.16812) for more details. If you use our dataset or find our work useful, please cite
README.md+46-4