Upload BertForSequenceClassification
Browse files- config.json +5 -5
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "google/bert_uncased_L-
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
@@ -7,13 +7,13 @@
|
|
7 |
"classifier_dropout": null,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
-
"hidden_size":
|
11 |
"id2label": {
|
12 |
"0": "non-toxic",
|
13 |
"1": "toxic"
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
-
"intermediate_size":
|
17 |
"label2id": {
|
18 |
"non-toxic": 0,
|
19 |
"toxic": 1
|
@@ -21,8 +21,8 @@
|
|
21 |
"layer_norm_eps": 1e-12,
|
22 |
"max_position_embeddings": 512,
|
23 |
"model_type": "bert",
|
24 |
-
"num_attention_heads":
|
25 |
-
"num_hidden_layers":
|
26 |
"pad_token_id": 0,
|
27 |
"position_embedding_type": "absolute",
|
28 |
"problem_type": "single_label_classification",
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/bert_uncased_L-2_H-128_A-2",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
7 |
"classifier_dropout": null,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 128,
|
11 |
"id2label": {
|
12 |
"0": "non-toxic",
|
13 |
"1": "toxic"
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 512,
|
17 |
"label2id": {
|
18 |
"non-toxic": 0,
|
19 |
"toxic": 1
|
|
|
21 |
"layer_norm_eps": 1e-12,
|
22 |
"max_position_embeddings": 512,
|
23 |
"model_type": "bert",
|
24 |
+
"num_attention_heads": 2,
|
25 |
+
"num_hidden_layers": 2,
|
26 |
"pad_token_id": 0,
|
27 |
"position_embedding_type": "absolute",
|
28 |
"problem_type": "single_label_classification",
|
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:ab2787dd6fbebb0917c56812ee92d5fcd5c6803058cc3edf4d086369531a3fb6
|
3 |
+
size 17562607
|