nicolauduran45 commited on
Commit
3744ac8
·
verified ·
1 Parent(s): 5aa27e5

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +13 -9
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,12 +1,11 @@
1
  {
2
  "architectures": [
3
- "RobertaForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
- "bos_token_id": 0,
7
  "classifier_dropout": null,
 
8
  "dtype": "float32",
9
- "eos_token_id": 2,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
@@ -20,16 +19,21 @@
20
  "false": 0,
21
  "true": 1
22
  },
23
- "layer_norm_eps": 1e-05,
24
- "max_position_embeddings": 514,
25
- "model_type": "roberta",
26
  "num_attention_heads": 12,
27
  "num_hidden_layers": 12,
28
- "pad_token_id": 1,
 
 
 
 
 
29
  "position_embedding_type": "absolute",
30
  "problem_type": "single_label_classification",
31
  "transformers_version": "4.56.1",
32
- "type_vocab_size": 1,
33
  "use_cache": true,
34
- "vocab_size": 50265
35
  }
 
1
  {
2
  "architectures": [
3
+ "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
 
6
  "classifier_dropout": null,
7
+ "directionality": "bidi",
8
  "dtype": "float32",
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
19
  "false": 0,
20
  "true": 1
21
  },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
  "num_attention_heads": 12,
26
  "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "pooler_fc_size": 768,
29
+ "pooler_num_attention_heads": 12,
30
+ "pooler_num_fc_layers": 3,
31
+ "pooler_size_per_head": 128,
32
+ "pooler_type": "first_token_transform",
33
  "position_embedding_type": "absolute",
34
  "problem_type": "single_label_classification",
35
  "transformers_version": "4.56.1",
36
+ "type_vocab_size": 2,
37
  "use_cache": true,
38
+ "vocab_size": 119547
39
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d153e1d565b4cf8a5fc4f582158e334a78b1f76a0d7a0768c57b90993efe6b26
3
- size 498612824
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b19202bd028b39a9376277e9acf21530130881d48142cc4d79453f22ccbeb3d
3
+ size 711443456