math-llm-demo-test / README.md
Joash2024's picture
Update README.md
9bf9ca7 verified

A newer version of the Gradio SDK is available: 5.12.0

Upgrade
metadata
title: Math Derivative Solver (Test)
emoji: 🧮
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.8.0
app_file: app.py
pinned: false
hardware:
  gpu: t4
  memory: 16
python_packages:
  - torch>=2.0.0
  - transformers>=4.30.0
  - accelerate>=0.20.0
  - bitsandbytes>=0.41.1
  - peft==0.6.2
  - scipy>=1.11.0

Math Derivative Solver (Test Space)

This Space tests our newly trained math model for solving derivatives. We're using:

  1. Base Model: HuggingFaceTB/SmolLM2-1.7B-Instruct
  2. Our Fine-tuned Model: Joash2024/Math-SmolLM2-1.7B (LoRA adapter)

Features

  • Solve derivatives of mathematical functions
  • Step-by-step explanations
  • Support for various functions:
    • Polynomials (x^2, x^3 + 2x)
    • Trigonometric (sin(x), cos(x))
    • Exponential (e^x)
    • Logarithmic (log(x))
    • Combinations (x e^{-x})

Technical Details

  • 8-bit quantization for efficient inference
  • GPU acceleration with T4
  • LaTeX notation support