Text Classification
Transformers
TensorBoard
Safetensors
roberta
zero-shot
text-embeddings-inference
Instructions to use adriansanz/test5_balanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adriansanz/test5_balanced with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adriansanz/test5_balanced")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adriansanz/test5_balanced") model = AutoModelForSequenceClassification.from_pretrained("adriansanz/test5_balanced", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -17
config.json
CHANGED
|
@@ -13,23 +13,9 @@
|
|
| 13 |
"hidden_dropout_prob": 0.1,
|
| 14 |
"hidden_size": 768,
|
| 15 |
"id2label": {
|
| 16 |
-
"0": "
|
| 17 |
-
"1": "
|
| 18 |
-
"2": "
|
| 19 |
-
"3": "Urbanisme",
|
| 20 |
-
"4": "Horta",
|
| 21 |
-
"5": "Seguretat",
|
| 22 |
-
"6": "Habitatge",
|
| 23 |
-
"7": "Medi ambient",
|
| 24 |
-
"8": "Tramitacions",
|
| 25 |
-
"9": "Enllumenat",
|
| 26 |
-
"10": "Salut",
|
| 27 |
-
"11": "Cultura",
|
| 28 |
-
"12": "Educaci\u00f3",
|
| 29 |
-
"13": "Economia",
|
| 30 |
-
"14": "Comer\u00e7 i mercats",
|
| 31 |
-
"15": "Serveis socials",
|
| 32 |
-
"16": "Esports"
|
| 33 |
},
|
| 34 |
"initializer_range": 0.02,
|
| 35 |
"intermediate_size": 3072,
|
|
|
|
| 13 |
"hidden_dropout_prob": 0.1,
|
| 14 |
"hidden_size": 768,
|
| 15 |
"id2label": {
|
| 16 |
+
"0": "entailment",
|
| 17 |
+
"1": "neutral",
|
| 18 |
+
"2": "contradiction"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
},
|
| 20 |
"initializer_range": 0.02,
|
| 21 |
"intermediate_size": 3072,
|