Instructions to use rmihaylov/bert-base-bg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rmihaylov/bert-base-bg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="rmihaylov/bert-base-bg")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("rmihaylov/bert-base-bg") model = AutoModelForMaskedLM.from_pretrained("rmihaylov/bert-base-bg") - Notebooks
- Google Colab
- Kaggle
model_max_length unset
#2
by AngledLuffa - opened
I don't know if this is fixable (although maybe the software which loads the model can fix it), but when loading the tokenizer for this model, it has:
model_max_length=1000000000000000019884624838656