Upload BertForSequenceClassification
Browse files- config.json +4 -6
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,14 +1,12 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "google-bert/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":
|
| 12 |
"id2label": {
|
| 13 |
"0": "LABEL_0",
|
| 14 |
"1": "LABEL_1",
|
|
@@ -72,7 +70,7 @@
|
|
| 72 |
"59": "LABEL_59"
|
| 73 |
},
|
| 74 |
"initializer_range": 0.02,
|
| 75 |
-
"intermediate_size":
|
| 76 |
"label2id": {
|
| 77 |
"LABEL_0": 0,
|
| 78 |
"LABEL_1": 1,
|
|
@@ -139,12 +137,12 @@
|
|
| 139 |
"max_position_embeddings": 512,
|
| 140 |
"model_type": "bert",
|
| 141 |
"num_attention_heads": 12,
|
| 142 |
-
"num_hidden_layers":
|
| 143 |
"pad_token_id": 0,
|
| 144 |
"position_embedding_type": "absolute",
|
| 145 |
"problem_type": "single_label_classification",
|
| 146 |
"torch_dtype": "float32",
|
| 147 |
-
"transformers_version": "4.38.
|
| 148 |
"type_vocab_size": 2,
|
| 149 |
"use_cache": true,
|
| 150 |
"vocab_size": 30522
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"BertForSequenceClassification"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"classifier_dropout": null,
|
|
|
|
| 7 |
"hidden_act": "gelu",
|
| 8 |
"hidden_dropout_prob": 0.1,
|
| 9 |
+
"hidden_size": 144,
|
| 10 |
"id2label": {
|
| 11 |
"0": "LABEL_0",
|
| 12 |
"1": "LABEL_1",
|
|
|
|
| 70 |
"59": "LABEL_59"
|
| 71 |
},
|
| 72 |
"initializer_range": 0.02,
|
| 73 |
+
"intermediate_size": 288,
|
| 74 |
"label2id": {
|
| 75 |
"LABEL_0": 0,
|
| 76 |
"LABEL_1": 1,
|
|
|
|
| 137 |
"max_position_embeddings": 512,
|
| 138 |
"model_type": "bert",
|
| 139 |
"num_attention_heads": 12,
|
| 140 |
+
"num_hidden_layers": 2,
|
| 141 |
"pad_token_id": 0,
|
| 142 |
"position_embedding_type": "absolute",
|
| 143 |
"problem_type": "single_label_classification",
|
| 144 |
"torch_dtype": "float32",
|
| 145 |
+
"transformers_version": "4.38.2",
|
| 146 |
"type_vocab_size": 2,
|
| 147 |
"use_cache": true,
|
| 148 |
"vocab_size": 30522
|
model.safetensors
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:ea45a755669bb12e6b145575592ff116dfea7a993e0e620569429832530ff175
|
| 3 |
+
size 19340584
|