Instructions to use isspek/roberta-base_monkeypox_4_2e-5_16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use isspek/roberta-base_monkeypox_4_2e-5_16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="isspek/roberta-base_monkeypox_4_2e-5_16")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("isspek/roberta-base_monkeypox_4_2e-5_16") model = AutoModelForSequenceClassification.from_pretrained("isspek/roberta-base_monkeypox_4_2e-5_16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload RobertaForSequenceClassification
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
|
@@ -28,7 +28,7 @@
|
|
| 28 |
"pad_token_id": 1,
|
| 29 |
"position_embedding_type": "absolute",
|
| 30 |
"torch_dtype": "float32",
|
| 31 |
-
"transformers_version": "4.
|
| 32 |
"type_vocab_size": 1,
|
| 33 |
"use_cache": true,
|
| 34 |
"vocab_size": 50265
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/home/ibarsch/medical_conspiracies_in_cross_diseases/isspek/roberta-base_monkeypox_4_2e-5_16",
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 28 |
"pad_token_id": 1,
|
| 29 |
"position_embedding_type": "absolute",
|
| 30 |
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.46.2",
|
| 32 |
"type_vocab_size": 1,
|
| 33 |
"use_cache": true,
|
| 34 |
"vocab_size": 50265
|