How to use from the
Use from the
paddlenlp library
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)

PaddleCI/tiny-random-bert

Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support