Instructions to use YagiASAFAS/MSPoliBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YagiASAFAS/MSPoliBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="YagiASAFAS/MSPoliBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("YagiASAFAS/MSPoliBERT") model = AutoModelForSequenceClassification.from_pretrained("YagiASAFAS/MSPoliBERT") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
"Administration": 7,
|
| 37 |
"Education": 8,
|
| 38 |
"Religion issues": 9,
|
| 39 |
-
"Environmental": 10
|
| 40 |
"Others": 11
|
| 41 |
},
|
| 42 |
"layer_norm_eps": 1e-12,
|
|
|
|
| 36 |
"Administration": 7,
|
| 37 |
"Education": 8,
|
| 38 |
"Religion issues": 9,
|
| 39 |
+
"Environmental": 10,
|
| 40 |
"Others": 11
|
| 41 |
},
|
| 42 |
"layer_norm_eps": 1e-12,
|