Instructions to use krimson1/roberta-base-stackoverflow-prediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use krimson1/roberta-base-stackoverflow-prediction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="krimson1/roberta-base-stackoverflow-prediction")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("krimson1/roberta-base-stackoverflow-prediction") model = AutoModelForSequenceClassification.from_pretrained("krimson1/roberta-base-stackoverflow-prediction") - Notebooks
- Google Colab
- Kaggle
Upload RobertaForSequenceClassification
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
"position_embedding_type": "absolute",
|
| 31 |
"problem_type": "single_label_classification",
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
-
"transformers_version": "4.50.
|
| 34 |
"type_vocab_size": 1,
|
| 35 |
"use_cache": true,
|
| 36 |
"vocab_size": 50265
|
|
|
|
| 30 |
"position_embedding_type": "absolute",
|
| 31 |
"problem_type": "single_label_classification",
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
+
"transformers_version": "4.50.3",
|
| 34 |
"type_vocab_size": 1,
|
| 35 |
"use_cache": true,
|
| 36 |
"vocab_size": 50265
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 498615900
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08eb9217c6fb261a6f577c7b142e0248ec40becc438b9b262cbe99ed7b4c2d65
|
| 3 |
size 498615900
|