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
File size: 59 Bytes
a84a7b9 | 1 2 3 4 | ---
library_name: paddlenlp
---
# PaddleCI/tiny-random-bert |