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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
b1eda60 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a9cc82c11a53d1cea3a016b7a37d124b39e1d775dfbcda505730be8cc7ca8dc9
size 12909590
|