Fill-Mask
Transformers
Safetensors
pinyin_code
masked-lm
trust-remote-code
sentencepiece
custom_code
Instructions to use timorobrecht/full_chinese_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use timorobrecht/full_chinese_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="timorobrecht/full_chinese_bert", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("timorobrecht/full_chinese_bert", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessing/__init__.py from timorobrecht/full_chinese_bert: direct link, hf CLI and curl.
- Browser
- Download file 0 Bytes
-
https://huggingface.co/timorobrecht/full_chinese_bert/resolve/main/preprocessing/__init__.py
- Command line
-
hf download hf://timorobrecht/full_chinese_bert/preprocessing/__init__.py
-
curl -L -o __init__.py https://huggingface.co/timorobrecht/full_chinese_bert/resolve/main/preprocessing/__init__.py
0 Bytes