Upload BertForSequenceClassification
Browse files- config.json +6 -11
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,15 +1,14 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "bert-
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
8 |
-
"directionality": "bidi",
|
9 |
"gradient_checkpointing": false,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
-
"hidden_size":
|
13 |
"id2label": {
|
14 |
"0": "LABEL_0",
|
15 |
"1": "LABEL_1",
|
@@ -18,7 +17,7 @@
|
|
18 |
"4": "LABEL_4"
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
-
"intermediate_size":
|
22 |
"label2id": {
|
23 |
"LABEL_0": 0,
|
24 |
"LABEL_1": 1,
|
@@ -29,15 +28,11 @@
|
|
29 |
"layer_norm_eps": 1e-12,
|
30 |
"max_position_embeddings": 512,
|
31 |
"model_type": "bert",
|
32 |
-
"num_attention_heads":
|
33 |
-
"num_hidden_layers":
|
34 |
"pad_token_id": 0,
|
35 |
-
"pooler_fc_size": 768,
|
36 |
-
"pooler_num_attention_heads": 12,
|
37 |
-
"pooler_num_fc_layers": 3,
|
38 |
-
"pooler_size_per_head": 128,
|
39 |
-
"pooler_type": "first_token_transform",
|
40 |
"position_embedding_type": "absolute",
|
|
|
41 |
"torch_dtype": "float32",
|
42 |
"transformers_version": "4.28.1",
|
43 |
"type_vocab_size": 2,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
|
|
8 |
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
"0": "LABEL_0",
|
14 |
"1": "LABEL_1",
|
|
|
17 |
"4": "LABEL_4"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
"LABEL_0": 0,
|
23 |
"LABEL_1": 1,
|
|
|
28 |
"layer_norm_eps": 1e-12,
|
29 |
"max_position_embeddings": 512,
|
30 |
"model_type": "bert",
|
31 |
+
"num_attention_heads": 12,
|
32 |
+
"num_hidden_layers": 12,
|
33 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
34 |
"position_embedding_type": "absolute",
|
35 |
+
"problem_type": "single_label_classification",
|
36 |
"torch_dtype": "float32",
|
37 |
"transformers_version": "4.28.1",
|
38 |
"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
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60a0e6aa8ff2aa02047f16c4785e7d8acf161acd7c5258e62adb7e40b58e083e
|
3 |
+
size 433326453
|