File size: 1,520 Bytes
c47e02a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4e7551b
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
---
title: Mathematics Question Generator
emoji: 🧮
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.29.0
app_file: app.py
pinned: false
---

# Mathematics Question Generator

This application generates customized mathematics questions on any topic you specify. Simply enter a mathematics chapter or concept you want to practice, and the AI will create questions with step-by-step solutions.

## Features

- Generate mathematics questions on any topic
- Choose the number of questions (1-10)
- Select difficulty level (elementary to advanced)
- View detailed step-by-step solutions

## How to Use

1. Enter a mathematics topic (e.g., "Linear Algebra: Eigenvalues", "Calculus: Integration")
2. Adjust the number of questions and difficulty level as needed
3. Click "Generate Questions"
4. Study the generated questions and their solutions

## Setup Requirements

This application requires a Hugging Face API token with access to the DeepSeek models. To set up your token:

1. Generate a Hugging Face API token with read access from [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)
2. Add this token to your Space as a secret with the key `HUGGINGFACE_TOKEN`
   - Go to your Space settings
   - Click on "Secrets"
   - Add a new secret with name `HUGGINGFACE_TOKEN` and your token as the value

## About

This application uses DeepSeek's mathematics-focused language model to generate high-quality mathematics questions tailored to your learning needs.

Created by Kamagelo Mosia