Downloads · 30 days
35
1% of all-time downloads
lschlessinger/bert-finetuned-math-prob-classification
bert-finetuned-math-prob-classification is a text classification model from lschlessinger. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of bert-base-uncased on the part of the competitionmath dataset. Specifically, it was trained as a multi-class multi-label model on the problem text. The problem types (labels) used…
Downloads · 30 days
35
1% of all-time downloads
All-time downloads
6.6K
Public
Parameters
109M
1.3 GB on disk
Likes
4
Public
Click a slice to open those files.
.bin438 MB · 50%
How the weights are stored.
F32109M · 100%
From the Hugging Face model README
This model is a fine-tuned version of bert-base-uncased on the part of the competition_math dataset. Specifically, it was trained as a multi-class multi-label model on the problem text. The problem types (labels) used here are "Counting & Probability", "Prealgebra", "Algebra", "Number Theory", "Geometry", "Intermediate Algebra", and "Precalculus".
See the bert-base-uncased model for more details. The only architectural modification made was to the classification head. Here, 7 classes were used.
This model is intended for demonstration purposes only. The problem type data was in English and contains many LaTeX tokens.
The problem field of competition_math dataset was used for training and evaluation input data. The target data was taken from the type field.
The following hyperparameters were used during training:
This fine-tuned model achieves the following result on the problem type competition math test set:
precision recall f1-score support
Algebra 0.78 0.79 0.79 1187
Counting & Probability 0.75 0.81 0.78 474
Geometry 0.76 0.83 0.79 479
Intermediate Algebra 0.86 0.84 0.85 903
Number Theory 0.79 0.82 0.80 540
Prealgebra 0.66 0.61 0.63 871
Precalculus 0.95 0.89 0.92 546
accuracy 0.79 5000
macro avg 0.79 0.80 0.79 5000
weighted avg 0.79 0.79 0.79 5000