Instructions to use thu-coai/roberta-base-cold with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thu-coai/roberta-base-cold with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="thu-coai/roberta-base-cold")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("thu-coai/roberta-base-cold") model = AutoModelForSequenceClassification.from_pretrained("thu-coai/roberta-base-cold", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (ef8dec0ea4b730a946d756270030c86746e4d59c) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>614c097
-
Update README.md
b632d82 -
Update README.md
ba75e44
-
Create README.md
418f4fe -
Update tokenizer_config.json
073acfa -
Update tokenizer_config.json
200d86b -
Update tokenizer_config.json
b92d22a -
Upload tokenizer
d94a47c -
Upload BertForSequenceClassification
a4afd9e -
initial commit
Chujie Zhenge9a9940