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
Download tf_model.h5 from MathGpn/pretrained-bert-math2: direct link, hf CLI and curl.
- Browser
- Download file 536 MB
-
https://huggingface.co/MathGpn/pretrained-bert-math2/resolve/main/tf_model.h5
- Command line
-
hf download hf://MathGpn/pretrained-bert-math2/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/MathGpn/pretrained-bert-math2/resolve/main/tf_model.h5
536 MB
- Xet hash:
- 9a65f049251653beb7949f6a37a9363ad1c2efd4726b3bbd1f2ff33965776027
- Size of remote file:
- 536 MB
- SHA256:
- eaeb15c5908d91290ea9bf252d5befbdebef54bea9503da7b1c4dc00d9a03134
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.