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:7dd24a550d37e297d838665f9e99bb54014073de739b0dcf9148035352611a2f
size 819736527
|