Cheykong commited on
Commit
a14b40b
·
verified ·
1 Parent(s): cfd11ed

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +21 -14
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,24 +1,31 @@
1
  {
2
- "activation": "gelu",
3
  "architectures": [
4
- "DistilBertForSequenceClassification"
5
  ],
6
- "attention_dropout": 0.1,
7
- "dim": 768,
8
- "dropout": 0.1,
9
  "dtype": "float32",
10
- "hidden_dim": 3072,
 
 
 
 
11
  "initializer_range": 0.02,
 
 
 
12
  "max_position_embeddings": 512,
13
- "model_type": "distilbert",
14
- "n_heads": 12,
15
- "n_layers": 6,
16
  "pad_token_id": 0,
 
17
  "problem_type": "single_label_classification",
18
- "qa_dropout": 0.1,
19
- "seq_classif_dropout": 0.2,
20
- "sinusoidal_pos_embds": false,
21
- "tie_weights_": true,
22
- "transformers_version": "4.57.6",
23
  "vocab_size": 30522
24
  }
 
1
  {
2
+ "add_cross_attention": false,
3
  "architectures": [
4
+ "BertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
  "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
  "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "is_decoder": false,
18
+ "layer_norm_eps": 1e-12,
19
  "max_position_embeddings": 512,
20
+ "model_type": "bert",
21
+ "num_attention_heads": 12,
22
+ "num_hidden_layers": 12,
23
  "pad_token_id": 0,
24
+ "position_embedding_type": "absolute",
25
  "problem_type": "single_label_classification",
26
+ "tie_word_embeddings": true,
27
+ "transformers_version": "5.0.0",
28
+ "type_vocab_size": 2,
29
+ "use_cache": false,
 
30
  "vocab_size": 30522
31
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f04c30f3548cc433b16dbff0cce1b180ac9d58d2fdac8a89f415e544d32d88f6
3
- size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f03b5292dbfd3ba866532c417ca148d34d5e9c0137fd16fa8671a931576b4f2
3
+ size 437958624