Update README.md 5797e05
Matija Pajas commited on
How to use mpajas/MathBERT_hr with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="mpajas/MathBERT_hr") # Load model directly
from transformers import AutoTokenizer, AutoModelForPreTraining
tokenizer = AutoTokenizer.from_pretrained("mpajas/MathBERT_hr")
model = AutoModelForPreTraining.from_pretrained("mpajas/MathBERT_hr")