Fill-Mask
Transformers
PyTorch
Chinese
bert
chinese
classical chinese
literary chinese
ancient chinese
Instructions to use Jihuai/bert-ancient-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jihuai/bert-ancient-chinese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Jihuai/bert-ancient-chinese")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Jihuai/bert-ancient-chinese") model = AutoModelForMaskedLM.from_pretrained("Jihuai/bert-ancient-chinese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Jihuai/bert-ancient-chinese: direct link, hf CLI and curl.
- Browser
- Download file 462 MB
-
https://huggingface.co/Jihuai/bert-ancient-chinese/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Jihuai/bert-ancient-chinese/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Jihuai/bert-ancient-chinese/resolve/main/pytorch_model.bin
462 MB
- Xet hash:
- af6ee5586684e238db71b8887d46c04b796d4ce524b21dff1f17804a28e6fa13
- Size of remote file:
- 462 MB
- SHA256:
- 82b15eade45e2a1ae4f093bf73849549b547d0cdcf276c6c80455a8f97506ebe
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.