--- title: Math Derivative Solver (Test) emoji: 🧮 colorFrom: blue colorTo: green sdk: gradio sdk_version: 4.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