Instructions to use PaddleCI/tiny-random-ernie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- paddlenlp
How to use PaddleCI/tiny-random-ernie with paddlenlp:
from paddlenlp.transformers import AutoTokenizer, ErnieForMaskedLM tokenizer = AutoTokenizer.from_pretrained("PaddleCI/tiny-random-ernie", from_hf_hub=True) model = ErnieForMaskedLM.from_pretrained("PaddleCI/tiny-random-ernie", from_hf_hub=True) - Notebooks
- Google Colab
- Kaggle
File size: 60 Bytes
2ba5361 | 1 2 3 4 | ---
library_name: paddlenlp
---
# PaddleCI/tiny-random-ernie |