Upload BertForSequenceClassification
Browse files- config.json +8 -1
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -9,8 +9,16 @@
|
|
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",
|
@@ -23,7 +31,6 @@
|
|
23 |
"pooler_size_per_head": 128,
|
24 |
"pooler_type": "first_token_transform",
|
25 |
"position_embedding_type": "absolute",
|
26 |
-
"problem_type": "single_label_classification",
|
27 |
"torch_dtype": "float32",
|
28 |
"transformers_version": "4.34.1",
|
29 |
"type_vocab_size": 2,
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Negative",
|
14 |
+
"1": "Positive"
|
15 |
+
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"Negative": 0,
|
20 |
+
"Positive": 1
|
21 |
+
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"max_position_embeddings": 512,
|
24 |
"model_type": "bert",
|
|
|
31 |
"pooler_size_per_head": 128,
|
32 |
"pooler_type": "first_token_transform",
|
33 |
"position_embedding_type": "absolute",
|
|
|
34 |
"torch_dtype": "float32",
|
35 |
"transformers_version": "4.34.1",
|
36 |
"type_vocab_size": 2,
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 711488750
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93971218405bda0102d41917be5e4576fb43ca6878ac58c1e91cb27c462b9be3
|
3 |
size 711488750
|