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)
The community tab is the place to discuss and collaborate with the HF community!