Instructions to use PaddleCI/tiny-random-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- paddlenlp
How to use PaddleCI/tiny-random-bert with paddlenlp:
from paddlenlp.transformers import AutoTokenizer, BertForMaskedLM tokenizer = AutoTokenizer.from_pretrained("PaddleCI/tiny-random-bert", from_hf_hub=True) model = BertForMaskedLM.from_pretrained("PaddleCI/tiny-random-bert", from_hf_hub=True) - Notebooks
- Google Colab
- Kaggle