aieng-lab / math_pretrained_bert-mamut

huggingface.co
Total runs: 19
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: May 26 2025

Introduction of math_pretrained_bert-mamut

Model Details of math_pretrained_bert-mamut

MAMUT-MPBert (Math Mutator Math-Pretrained-BERT)

MAMUT-MPBERT is a pretrained language model based on AnReu/math_pretrained_bert , further pretrained on mathematical texts and formulas. It was introduced in MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training .

Despite its base model is already a mathematical model, our training aims to improve the mathematical understanding even further, as shown in our paper.

Model Details
Overview

MAMUT-MPBERT was pretrained on four math-specific tasks across four datasets.

  • Mathematical Formulas (MF) : A Masked Language Modeling (MLM) task on math formulas written in LaTeX.
  • Mathematical Texts (MT) : An MLM task on natural language text containing inline LaTeX math ( mathematical texts ). The masking probability was biased toward mathematical tokens (inside math environment $...$) and domain-specific terms (e.g., sum , one , ...)
  • Named Math Formulas (NMF) : A Next-Sentence-Prediction (NSP)-style task: given a formula and the name of a mathematical identity (e.g., Pythagorean Theorem), classify whether they match.
  • Math Formula Retrieval (MFR) : Another NSP-style task to decide if two formulas describe the same mathematical identity or concept.

Training Overview

Model Sources
Uses

MAMUT-MPBERT is intended for downstream tasks that require improved mathematical understanding, such as:

  • Formula classification
  • Retrieval of semantically similar formulas
  • Math-related question answering

Note: This model was saved without the MLM or NSP heads and requires fine-tuning before use in downstream tasks.

Similarly trained models are MAMUT-BERT based on bert-base-cased and MAMUT-MathBERT based on tbs17/MathBERT . However, this model (MAMUT-MPBert) performed best according to our evalution.

Training Details

Training configurations are described in Appendix C of the MAMUT paper .

Evaluation

The model is evaluated in Section 7 and Appendix C.4 of the MAMUT paper (MAMUT-MPBERT).

Environmental Impact
  • Hardware Type: 8xA100
  • Hours used: 48
  • Compute Region: Germany
Citation

BibTeX:

@misc{drechsel2025mamutnovelframeworkmodifying,
      title={{MAMUT}: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training}, 
      author={Jonathan Drechsel and Anja Reusch and Steffen Herbold},
      year={2025},
      eprint={2502.20855},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.20855}, 
}

Runs of aieng-lab math_pretrained_bert-mamut on huggingface.co

19
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About math_pretrained_bert-mamut huggingface.co Model

More math_pretrained_bert-mamut license Visit here:

https://choosealicense.com/licenses/apache-2.0

math_pretrained_bert-mamut huggingface.co

math_pretrained_bert-mamut huggingface.co is an AI model on huggingface.co that provides math_pretrained_bert-mamut's model effect (), which can be used instantly with this aieng-lab math_pretrained_bert-mamut model. huggingface.co supports a free trial of the math_pretrained_bert-mamut model, and also provides paid use of the math_pretrained_bert-mamut. Support call math_pretrained_bert-mamut model through api, including Node.js, Python, http.

math_pretrained_bert-mamut huggingface.co Url

https://huggingface.co/aieng-lab/math_pretrained_bert-mamut

aieng-lab math_pretrained_bert-mamut online free

math_pretrained_bert-mamut huggingface.co is an online trial and call api platform, which integrates math_pretrained_bert-mamut's modeling effects, including api services, and provides a free online trial of math_pretrained_bert-mamut, you can try math_pretrained_bert-mamut online for free by clicking the link below.

aieng-lab math_pretrained_bert-mamut online free url in huggingface.co:

https://huggingface.co/aieng-lab/math_pretrained_bert-mamut

math_pretrained_bert-mamut install

math_pretrained_bert-mamut is an open source model from GitHub that offers a free installation service, and any user can find math_pretrained_bert-mamut on GitHub to install. At the same time, huggingface.co provides the effect of math_pretrained_bert-mamut install, users can directly use math_pretrained_bert-mamut installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

math_pretrained_bert-mamut install url in huggingface.co:

https://huggingface.co/aieng-lab/math_pretrained_bert-mamut

Url of math_pretrained_bert-mamut

math_pretrained_bert-mamut huggingface.co Url

Provider of math_pretrained_bert-mamut huggingface.co

aieng-lab
ORGANIZATIONS

Other API from aieng-lab