Instructions to use tbs17/MathBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tbs17/MathBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="tbs17/MathBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("tbs17/MathBERT") model = AutoModelForMaskedLM.from_pretrained("tbs17/MathBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Pytorch example encoded_input fix
There is a problem like in t5-large from hugging face" with 'size'. Link to solved issue https://github.com/huggingface/transformers/issues/5480. The returned object is a dict, not a tensor for the model. ['input_ids'] fixes PyTorch example.ca60390
-
Update README.md
e26235c
-
Update README.md
75866ae -
Update README.md
209a1e8
-
Update README.md
6999b66 -
Update README.md
518f69e -
Update README.md
8e63b05 -
Update README.md
56c84fd -
Update README.md
01c9fc7
-
Update README.md
a9fc912 -
Update README.md
70cde69 -
Update README.md
ee8f907
-
add vocab
9c90469 -
Create config.json
v13d067dc -
Update README.md
v1.1014a4ea -
Create README.md
v121bd7c2 -
add tokenizer files 2
6f849e9 -
add tokenizer files
ed2a04c
-
add pytorch_model.bin
f0ce43b -
initial commit
e646e09