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
Download special_tokens_map.json from PaddleCI/tiny-random-bert: direct link, hf CLI and curl.
- Browser
- Download file 112 Bytes
-
https://huggingface.co/PaddleCI/tiny-random-bert/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://PaddleCI/tiny-random-bert/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/PaddleCI/tiny-random-bert/resolve/main/special_tokens_map.json
112 Bytes
| {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"} |