Instructions to use smallbenchnlp/bert-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smallbenchnlp/bert-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="smallbenchnlp/bert-small")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("smallbenchnlp/bert-small") model = AutoModelForMaskedLM.from_pretrained("smallbenchnlp/bert-small") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
5796c8e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6efc8f66c02ff1bba96f27063001ef40fdf99876ae82c4f3b1c70d2da615d498
size 54270311
|