Downloads · 30 days
16
33% of all-time downloads
shamEiNew/symbolic-math-classifier
symbolic-math-classifier is a text classification model from shamEiNew. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This model is an early-stage classifier for SymPy-style symbolic expressions. It predicts the type of symbolic mathematical input so that the it can route the query to the appropriate symbolic solver (convexity, deriv…
Downloads · 30 days
16
33% of all-time downloads
All-time downloads
49
Public
Parameters
125M
499 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This model is an early-stage classifier for SymPy-style symbolic expressions.
It predicts the type of symbolic mathematical input so that the it
can route the query to the appropriate symbolic solver (convexity, derivatives, integrals, equations, systems, etc.).
👉 This model lives in the development branch ml-classify on github
and is still under active experimentation.
⚠️ This is NOT production-ready.
Accuracy is still low on complex expressions and multi-variable cases.
Bugs and misclassifications are expected.
This model takes pure SymPy syntax strings as input and classifies them into categories like:
expressionequationsystem_of_equationslinear_equationnonlinear_equationderivative (e.g., diff(x**3, x))integral (e.g., Integral(sin(x), x))convexity_problemIt is trained on synthetic symbolic data generated using SymPy templates.
ml-classifyLoad the classifier like any HuggingFace model:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("<your-username>/symbolic-math-classifier")
model = AutoModelForSequenceClassification.from_pretrained("<your-username>/symbolic-math-classifier")