Instructions to use thu-coai/roberta-zh-specific with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thu-coai/roberta-zh-specific with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="thu-coai/roberta-zh-specific")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("thu-coai/roberta-zh-specific") model = AutoModelForSequenceClassification.from_pretrained("thu-coai/roberta-zh-specific") - Notebooks
- Google Colab
- Kaggle
Commit ·
6e4a4fe
1
Parent(s): 71df253
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (489ebb4c1074d6e390ac76e03a92272ca2bf6ce9)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f38d13c4f7440578ed2999e1c0ab7ea44b625f34275ed415fb73d779ec357230
|
| 3 |
+
size 409104428
|