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")# pip install -U transformers accelerate # 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
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (89f148e75651bfaa42a0988515276fa83f1f7537) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>2f206cf
-
Update README.md
a432892 -
Update README.md
336f727
-
Update README.md
881e7fc -
Update README.md
d805257 -
Update tokenizer_config.json
1f2af6c -
Update tokenizer_config.json
56ed030 -
Update tokenizer_config.json
44329bb -
Upload tokenizer
98e0c2f -
Delete special_tokens_map.json
8f4d9e6 -
Delete tokenizer_config.json
335eb32 -
Delete vocab.txt
25fd1f8 -
Upload tokenizer
bb0a252 -
Update config.json
b30acd4 -
Update README.md
7088f7e -
Create README.md
42176fd -
Update config.json
0afed17 -
Upload 3 files
481fa83 -
Upload BertForSequenceClassification
e7f0323 -
initial commit
Chujie Zhengacc4723