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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
14411b2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:418b36f1dd2a8d8880028a9850723f0988e6da067953d52aa64506e81f109920
size 409144941
|