Instructions to use google-bert/bert-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-bert/bert-base-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="google-bert/bert-base-cased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-cased") model = AutoModelForMaskedLM.from_pretrained("google-bert/bert-base-cased", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#3
by egoing - opened
222 unmodified lines223224225226227228229222 unmodified linesbiburl = {https://dblp.org/rec/journals/corr/abs-1810-04805.bib},bibsource = {dblp computer science bibliography, https://dblp.org}}```<a href="https://huggingface.co/exbert/?model=bert-base-cased"><img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png">222 unmodified lines223224225226227228229222 unmodified linesbiburl = {https://dblp.org/rec/journals/corr/abs-1810-04805.bib},bibsource = {dblp computer science bibliography, https://dblp.org}}```;<a href="https://huggingface.co/exbert/?model=bert-base-cased"><img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png">
README.md+1-1