alenaa commited on
Commit
32c575f
·
verified ·
1 Parent(s): 81825e8

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +9 -3
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,11 +1,11 @@
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,
@@ -16,12 +16,18 @@
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.41.1",
24
  "type_vocab_size": 2,
25
  "use_cache": true,
26
- "vocab_size": 30522
27
  }
 
1
  {
2
+ "_name_or_path": "DeepPavlov/rubert-base-cased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
+ "directionality": "bidi",
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
16
  "model_type": "bert",
17
  "num_attention_heads": 12,
18
  "num_hidden_layers": 12,
19
+ "output_past": true,
20
  "pad_token_id": 0,
21
+ "pooler_fc_size": 768,
22
+ "pooler_num_attention_heads": 12,
23
+ "pooler_num_fc_layers": 3,
24
+ "pooler_size_per_head": 128,
25
+ "pooler_type": "first_token_transform",
26
  "position_embedding_type": "absolute",
27
  "problem_type": "single_label_classification",
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.41.1",
30
  "type_vocab_size": 2,
31
  "use_cache": true,
32
+ "vocab_size": 119547
33
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c64ee3e31cccb8e940d095b14ea9190924e5182460cf111655e187a4476b0c92
3
- size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6872d8bf9bb2e572c9775af88ccef23801539de45db4072860a9a1366b050ef4
3
+ size 711443456