Instructions to use Cloudy1225/stackoverflow-roberta-base-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cloudy1225/stackoverflow-roberta-base-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Cloudy1225/stackoverflow-roberta-base-sentiment", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Cloudy1225/stackoverflow-roberta-base-sentiment") model = AutoModelForSequenceClassification.from_pretrained("Cloudy1225/stackoverflow-roberta-base-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model (#2)
Browse files- Adding `safetensors` variant of this model (ca7a8bcb0182c8e40918f33262cd66f9e7590813)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2165f28de187e9899241fdba3b6ae8f2fa3a25818d48f7fce9b30ebc32fa47af
|
| 3 |
+
size 498620100
|