File size: 2,930 Bytes
4975787
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
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": "<think>reasoning...</think>\n\nanswer"}
  ]
},
{
  "id": 2,
  "domain": "chemistry",
  "turns": 2,
  "messages": [
    {"role": "user", "content": "question"},
    {"role": "assistant", "content": "<think>reasoning...</think>\n\nanswer"},
    {"role": "user", "content": "follow-up"},
    {"role": "assistant", "content": "<think>reasoning...</think>\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 `<think>` and `</think>` 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}
}
```