Userpawan's picture
Update README.md
86f3c36 verified
---
license: apache-2.0
---
# Algebra Equations Dataset
## Overview
This dataset contains automatically generated algebra problems with step-by-step solutions.
It is intended for training or testing models that solve equations and show intermediate reasoning steps.
The dataset is stored in **JSON Lines (`.jsonl`) format**, where each line represents one problem and its solution.
---
## File
```
equations_dataset.jsonl
```
Each line contains:
```
{
"input": "<problem>",
"output": "<step-by-step solution>"
}
```
---
## Equation Types
The dataset contains randomly generated:
* Linear equations
* Quadratic equations
* Cubic equations
* Systems of two linear equations
---
## Example
```
{
"input": "Solve 3x - 6 = 0",
"output": "3x - 6 = 0
3x = 6
x = 6 / 3
x = 2"
}
```
---
## Loading the Dataset
Example Python code:
```python
import json
with open("equations_dataset.jsonl") as f:
for line in f:
data = json.loads(line)
print(data["input"])
print(data["output"])
```
---
## Notes
* Problems are randomly generated.
* Solutions include clear algebraic steps.
* Fractional values may appear.