Downloads · 30 days
70
18% of all-time downloads
Khurram123/Qwen-GeoGebra-Coder-7B
Qwen-GeoGebra-Coder-7B is a machine learning model from Khurram123. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for gguf. The card lists the license as mit.
<p align="center" <img src="logo.png" alt="GeoGebra AI Logo" width="550"/ </p
Downloads · 30 days
70
18% of all-time downloads
All-time downloads
391
Public
Repo size
4.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.7 GB · 100%
From the Hugging Face model README
Developed by: Khurram Pervez, Assistant Professor of Mathematics
This repository contains a specialized AI pipeline designed to transform natural language mathematical descriptions into real-time GeoGebra 3D visualizations. By combining a fine-tuned Qwen-Coder backbone with a custom FastAPI processing layer, the system bridges the gap between abstract reasoning and geometric plotting.
The system operates via a three-stage pipeline designed for mathematical accuracy:
When a user submits a prompt (e.g., "Create a cylinder with radius 3 and height 10"), the model first enters a <thought> state. It calculates the spatial coordinates, base-point, and top-point vectors required by GeoGebra's engine before generating any code.
LLMs often output coordinates in various styles (e.g., [<0,0,0>] or [3,0,0]). GeoGebra is strict about its syntax: Cylinder(Point, Point, Radius).
Our custom clean_and_format_ggb function acts as a mathematical transpiler:
< > and square brackets [ ] into standard parentheses ( ).Cylinder((0,0,0), (0,10,0), 3.0).The app.html interface uses the GeoGebra Discovery/Classic API to inject the generated commands into a live 3D canvas, allowing for immediate visual verification of mathematical concepts.
llama-cpp-python.To run this research interface on your local machine:
server.py, app.html, and math_viz_Q4_K_M.gguf into one folder.pip install fastapi uvicorn llama-cpp-python