Instructions to use HPLT/hplt_bert_base_zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HPLT/hplt_bert_base_zh with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="HPLT/hplt_bert_base_zh", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("HPLT/hplt_bert_base_zh", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload model.safetensors
Verified signature8f92a1e
-
Upload modeling_ltgbert.py with huggingface_hub
Verified signature19a5b7c -
Upload modeling_ltgbert.py with huggingface_hub
Verified signature797be2d
-
Upload README.md with huggingface_hub
Verified signature2008956 -
Upload tokenizer.json with huggingface_hub
Verified signatured622197
-
Updating README.md
Verified signature3b2e209
-
Upload folder using huggingface_hub
Verified signature2f09b53 -
initial commit
Verified signature3263c8a