Instructions to use song/bert_cn_finetuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use song/bert_cn_finetuning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="song/bert_cn_finetuning")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("song/bert_cn_finetuning") model = AutoModelForSequenceClassification.from_pretrained("song/bert_cn_finetuning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a5eb504 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:acfda13962b44e746f9a558ba658a3b304f2d0d427f80d4aee686625e481f415
size 409124216
|