Instructions to use alibaba-pai/pai-bert-tiny-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alibaba-pai/pai-bert-tiny-zh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="alibaba-pai/pai-bert-tiny-zh")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("alibaba-pai/pai-bert-tiny-zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
update readme
4acdb97 -
update readme (#1)
- update readme (dfc93a37dfaebdf7bd13220d6759bff765b3c14e) Co-authored-by: Chengyu Wang <chywang@users.noreply.huggingface.co>ac725b9
-
fix README.md
dongjunwei.djwd4f3073 -
first commit for the pre-trained pai-bert-tiny-zh model
dongjunwei.djwb1eda60 -
initial commit
9690463