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")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("alibaba-pai/pai-bert-tiny-zh", dtype="auto") - Notebooks
- Google Colab
- Kaggle
training data licenses
#3 opened 6 months ago
by
weizhong1
Adding `safetensors` variant of this model
#2 opened almost 3 years ago
by
SFconvertbot