File size: 938 Bytes
95f0984
77a8694
 
 
 
95f0984
9bf9ca7
95f0984
 
77a8694
 
 
 
9bf9ca7
 
 
 
 
 
95f0984
 
77a8694
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9bf9ca7
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: 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