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