Instructions to use ainewtrend07/FacebookAI-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ainewtrend07/FacebookAI-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ainewtrend07/FacebookAI-roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ainewtrend07/FacebookAI-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("ainewtrend07/FacebookAI-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload RobertaForSequenceClassification
Browse files- config.json +1 -3
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -22,8 +22,7 @@
|
|
| 22 |
"9": "LABEL_9",
|
| 23 |
"10": "LABEL_10",
|
| 24 |
"11": "LABEL_11",
|
| 25 |
-
"12": "LABEL_12"
|
| 26 |
-
"13": "LABEL_13"
|
| 27 |
},
|
| 28 |
"initializer_range": 0.02,
|
| 29 |
"intermediate_size": 3072,
|
|
@@ -33,7 +32,6 @@
|
|
| 33 |
"LABEL_10": 10,
|
| 34 |
"LABEL_11": 11,
|
| 35 |
"LABEL_12": 12,
|
| 36 |
-
"LABEL_13": 13,
|
| 37 |
"LABEL_2": 2,
|
| 38 |
"LABEL_3": 3,
|
| 39 |
"LABEL_4": 4,
|
|
|
|
| 22 |
"9": "LABEL_9",
|
| 23 |
"10": "LABEL_10",
|
| 24 |
"11": "LABEL_11",
|
| 25 |
+
"12": "LABEL_12"
|
|
|
|
| 26 |
},
|
| 27 |
"initializer_range": 0.02,
|
| 28 |
"intermediate_size": 3072,
|
|
|
|
| 32 |
"LABEL_10": 10,
|
| 33 |
"LABEL_11": 11,
|
| 34 |
"LABEL_12": 12,
|
|
|
|
| 35 |
"LABEL_2": 2,
|
| 36 |
"LABEL_3": 3,
|
| 37 |
"LABEL_4": 4,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a41159579872cb4d02b8dfe7e3d4191a460eb11f8fa85dd8b1233b0a9e49f57
|
| 3 |
+
size 498646660
|