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