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")# 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
File size: 134 Bytes
a4afd9e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3be25d1120a92ddf094a9badee6871d398f1459516460ff306bf0f3c9c97e999
size 409144941
|