Spaces:
Sleeping
Sleeping
File size: 1,817 Bytes
081a250 0e7ff76 081a250 0e7ff76 081a250 0e7ff76 |
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
---
title: Math Problem Solver Demo
emoji: 🧮
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.0.0
app_file: app.py
pinned: false
---
# Mathematics Problem Solver Demo
This demo showcases a comparison between base and fine-tuned language models in solving mathematical problems. It features real-time performance monitoring and supports multiple types of math problems.
## Models Used
- Base Model: [LlaMA 3.2 1B](https://huggingface.co/Alexis-Az/Math-Problem-LlaMA-3.2-1B-GGUF)
- Fine-tuned Model: [SmolLM2 1.7B](https://huggingface.co/Alexis-Az/Math-Problem-LlaMA-3.2-1.7B-GGUF)
## Features
- 🔢 Multiple problem types:
- Addition operations
- Root finding
- Derivatives
- Custom problems
- 📊 Real-time performance metrics:
- Response times
- Success rates
- Problem type distribution
- 🔄 Side-by-side model comparison
- ⚡ Example problems included
## How to Use
1. Select a problem type from the dropdown menu
2. Enter your math problem in the input field
3. Click "Solve" to see solutions from both models
4. Compare the results and view performance metrics
## Example Problems
Try these sample problems:
- Derivative: "Find the derivative of x^2 + 3x"
- Root Finding: "What is the square root of 144?"
- Addition: "Calculate 235 + 567"
## Performance Monitoring
The interface includes a live dashboard showing:
- Average response times for each model
- Success rates comparison
- Distribution of problem types solved
- Real-time performance metrics
## Project Details
This demo is part of a larger project comparing LLM performance on mathematical problems. The models have been fine-tuned on a custom dataset of mathematical problems to improve their problem-solving capabilities.
## Credits
Models provided by [Alexis-Az](https://huggingface.co/Alexis-Az)
|