sisyphus199
commited on
Commit
•
cd513be
1
Parent(s):
c3d100b
Upload BertForSequenceClassification
Browse files- README.md +4 -1
- config.json +5 -0
README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
-
tags:
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
# Model Card for Model ID
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- politics
|
5 |
+
- parliamnet
|
6 |
+
- sentiment-analysis
|
7 |
---
|
8 |
|
9 |
# Model Card for Model ID
|
config.json
CHANGED
@@ -9,8 +9,13 @@
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
|
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
"max_position_embeddings": 512,
|
16 |
"model_type": "bert",
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Conservative",
|
14 |
+
"1": "Labour"
|
15 |
+
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
+
"label2id": null,
|
19 |
"layer_norm_eps": 1e-12,
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "bert",
|