mathbot / README.md
annanurov's picture
updated title and dirtree
6e71387 verified
---
title: Math Bot
emoji:
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
app_port: 7860
---
# Math helper — Powered by Llama 3.3 via HuggingFace
Ask anything in natural language about your math homeowrk.
The AI was told to give directives toward a solution, not the answer.
## How it works
```
System prompt (description f the tutoring task and resprictions)
User prompt → Llama-3.3 (HF Inference API) → response
Streamlit UI
```
## Stack
| Layer | Technology |
|-------|-----------|
| UI | Streamlit |
| Containerisation | Docker |
| LLM (NLP parsing) | Llama-3.3 via HF Inference API |
## Setup
files :
mathbot-app/
├──src
└──streamlit_app.py
└──style.css
├── Dockerfile
├── requirements.txt
└── README.md
```
Open https://annanurov-mathbot.hf.space/
## Example prompts
- *"what are the roots of x^ - 5x + 6?"*
- *"Why do all medians intersect in one point?"*
- *"how to plot the graph of y = sin(3x)?"*
## Notes
- The LLM call uses the **Hugging Face serverless Inference API** (`meta-llama/Llama-3.3` with 70B parameters). A free HF account token is sufficient for moderate usage.