Instructions to use hellonlp/promcse-bert-base-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hellonlp/promcse-bert-base-zh with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, BertForCL tokenizer = AutoTokenizer.from_pretrained("hellonlp/promcse-bert-base-zh") model = BertForCL.from_pretrained("hellonlp/promcse-bert-base-zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
767bda3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b3c5a0dccb54fb4f08a8c86e0897d26813b22eff8360608ba9610899439493e0
size 409894665
|