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
Download model_state.pdparams from PaddleCI/tiny-random-ernie: direct link, hf CLI and curl.
- Browser
- Download file 2.8 MB
-
https://huggingface.co/PaddleCI/tiny-random-ernie/resolve/main/model_state.pdparams
- Command line
-
hf download hf://PaddleCI/tiny-random-ernie/model_state.pdparams
-
curl -L -o model_state.pdparams https://huggingface.co/PaddleCI/tiny-random-ernie/resolve/main/model_state.pdparams
2.8 MB
- Xet hash:
- 1ac890475ab10e516f04c6cd1833936dc531b3c1aba43ee925df852362ed0a25
- Size of remote file:
- 2.8 MB
- SHA256:
- 1fe621a1d8a910ad27f1ca973c28806294d738d2e8fe2a64c6cb193f014fdc77
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.