Instructions to use Group209/Sentiment_Analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Group209/Sentiment_Analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Group209/Sentiment_Analysis")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Group209/Sentiment_Analysis", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
2dacb26
1
Parent(s): c113a99
Update config.json
Browse files- config.json +3 -1
config.json
CHANGED
|
@@ -10,5 +10,7 @@
|
|
| 10 |
"num_hidden_layers": 12,
|
| 11 |
"type_vocab_size": 2,
|
| 12 |
"vocab_size": 30522,
|
| 13 |
-
"model_type": "bert"
|
|
|
|
|
|
|
| 14 |
}
|
|
|
|
| 10 |
"num_hidden_layers": 12,
|
| 11 |
"type_vocab_size": 2,
|
| 12 |
"vocab_size": 30522,
|
| 13 |
+
"model_type": "bert",
|
| 14 |
+
"num_labels": 2,
|
| 15 |
+
"pipeline_type": "text-classification"
|
| 16 |
}
|