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