joligmueller
commited on
Commit
•
8253100
1
Parent(s):
edf0c26
Upload BertForSequenceClassification
Browse files- config.json +12 -22
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,37 +1,27 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"bos_token_id": 0,
|
8 |
"classifier_dropout": null,
|
9 |
-
"eos_token_id": 2,
|
10 |
"gradient_checkpointing": false,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
-
"hidden_size":
|
14 |
-
"id2label": {
|
15 |
-
"0": "NEGATIVE",
|
16 |
-
"1": "POSITIVE"
|
17 |
-
},
|
18 |
"initializer_range": 0.02,
|
19 |
-
"intermediate_size":
|
20 |
-
"
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"model_type": "roberta",
|
27 |
-
"num_attention_heads": 16,
|
28 |
-
"num_hidden_layers": 24,
|
29 |
-
"pad_token_id": 1,
|
30 |
"position_embedding_type": "absolute",
|
31 |
"problem_type": "single_label_classification",
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.28.1",
|
34 |
-
"type_vocab_size":
|
35 |
"use_cache": true,
|
36 |
-
"vocab_size":
|
37 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
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 |
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
20 |
"position_embedding_type": "absolute",
|
21 |
"problem_type": "single_label_classification",
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.28.1",
|
24 |
+
"type_vocab_size": 2,
|
25 |
"use_cache": true,
|
26 |
+
"vocab_size": 30522
|
27 |
}
|
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:0ba7ad726ddad8833b38ad0210e34240395aeac0a21d61d548ac022189444d32
|
3 |
+
size 438007925
|