Instructions to use RozaA/Menon-nb-bert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RozaA/Menon-nb-bert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="RozaA/Menon-nb-bert-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("RozaA/Menon-nb-bert-base") model = AutoModelForSequenceClassification.from_pretrained("RozaA/Menon-nb-bert-base") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -28,7 +28,8 @@
|
|
| 28 |
"type_vocab_size": 2,
|
| 29 |
"use_cache": true,
|
| 30 |
"vocab_size": 119547,
|
| 31 |
-
|
|
|
|
| 32 |
"id2label": {
|
| 33 |
"0": "NOT_RELEVANT",
|
| 34 |
"1": "RELEVANT"
|
|
|
|
| 28 |
"type_vocab_size": 2,
|
| 29 |
"use_cache": true,
|
| 30 |
"vocab_size": 119547,
|
| 31 |
+
|
| 32 |
+
"num_labels": 2,
|
| 33 |
"id2label": {
|
| 34 |
"0": "NOT_RELEVANT",
|
| 35 |
"1": "RELEVANT"
|