Instructions to use weiweishi/roc-bert-base-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use weiweishi/roc-bert-base-zh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="weiweishi/roc-bert-base-zh")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("weiweishi/roc-bert-base-zh") model = AutoModelForPreTraining.from_pretrained("weiweishi/roc-bert-base-zh", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download config.json from weiweishi/roc-bert-base-zh: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/weiweishi/roc-bert-base-zh/resolve/cceceb1bfe99e41d1bfb442d27961499b019d22f/config.json
- Command line
-
hf download hf://weiweishi/roc-bert-base-zh@cceceb1bfe99e41d1bfb442d27961499b019d22f/config.json
-
curl -L -o config.json https://huggingface.co/weiweishi/roc-bert-base-zh/resolve/cceceb1bfe99e41d1bfb442d27961499b019d22f/config.json
1.07 kB
- Xet hash:
- 370163f8526d7a28029d4bcaedfcdae467dfe16691830d51094c9f01df046bf3
- Size of remote file:
- 1.07 kB
- SHA256:
- 8e27676e5340a801a9e9a8503fca5d9ec0070cca07ad5555a747232e30079485
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.