Instructions to use alibaba-pai/pai-ckbert-base-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alibaba-pai/pai-ckbert-base-zh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="alibaba-pai/pai-ckbert-base-zh")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("alibaba-pai/pai-ckbert-base-zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
c1eb6be | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:df9f674c791545082eddfea08dfee6cc2997bf4738cd4c665d3dda9b5f659383
size 409254187
|