Instructions to use MathGpn/pretrained-bert-math2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MathGpn/pretrained-bert-math2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("MathGpn/pretrained-bert-math2") model = AutoModelForPreTraining.from_pretrained("MathGpn/pretrained-bert-math2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
c408faa | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eaeb15c5908d91290ea9bf252d5befbdebef54bea9503da7b1c4dc00d9a03134
size 536063432
|