---
language:
- en
task_categories:
- text-generation
tags:
- reasoning
- math
- science
- physics
- chemistry
- logic
- biology
- computer_science
- stem
- distillation
- synthetic
- sft
license: cc-by-4.0
size_categories:
- n<1K
configs:
- config_name: stem
data_files: "stem.jsonl"
---
# STEM-Reasoning
A synthetic supervised fine-tuning dataset containing high-quality reasoning conversations in English.
The primary target of this dataset is supervised fine-tuning and reasoning distillation experiments with [Qwen3.5-4B](https://hf.co/Qwen/Qwen3.5-4B) to enhance its scientific reasoning capabilities with data from open LLM teachers.
## Contents and Format
### Structure
The data is formatted using the following structure:
```json
{
"id": 1,
"domain": "math",
"turns": 1,
"messages": [
{"role": "user", "content": "question"},
{"role": "assistant", "content": "reasoning...\n\nanswer"}
]
},
{
"id": 2,
"domain": "chemistry",
"turns": 2,
"messages": [
{"role": "user", "content": "question"},
{"role": "assistant", "content": "reasoning...\n\nanswer"},
{"role": "user", "content": "follow-up"},
{"role": "assistant", "content": "reasoning...\n\nanswer"}
]
}
```
`id` consists of a numeric counter unique for every sample, starting from 1.
`domain` is one of the following: `math`, `physics`, `chemistry`, `logic`, `biology`, or `computer_science`. The latter two are only in a small amount of complex questions.
All samples have reasoning traces between `` and `` in the assistant's response. Multi-turn samples contain alternating `user` and `assistant` messages in `messages`.
### Content
`stem.jsonl` contains 693 non-trivial reasoning samples spanning STEM and logic domains. Task types include deriviations, proofs, analyses, chemical syntheses, explanations, calculations and data/observation interpretations.
~70% of the conversations have one user turn, the rest range from 2 to 5 turn pairs.
### Data generation
All questions were synthetically generated and then answered by various open frontier models. Some multi-turn conversations had dynamic user follow-ups generated by taking the assistant's response into account.
The reasoning style may vary, as there were different models used throughout the generation process.
Samples with ids `356` to `693` come from the `checked` split of [Kimi-K3-STEM-Reasoning](https://huggingface.co/datasets/pyrod3v/Kimi-K3-STEM-Reasoning-750).
## Licensing and attribution
This dataset is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
If you use or redistribute this dataset, please cite it using the following:
```bibtex
@misc{kimi_k3_stem_reasoning,
author = {pyrod3v},
title = {{STEM-Reasoning}},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/pyrod3v/STEM-Reasoning}
}
```