CoolFace
Datasetpublic

Userpawan/Linear-Quad-Cubic_math_dataset

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… See the full description on the dataset page: https://huggingface.co/datasets/Userpawan/Linear-Quad-Cubic_math_dataset.

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
0likes35downloads
Dataset Card

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.