odunola commited on
Commit
0d9f4e1
·
1 Parent(s): 0494f49

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +16 -14
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,13 +1,14 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
 
11
  "id2label": {
12
  "0": "LABEL_0",
13
  "1": "LABEL_1",
@@ -15,22 +16,23 @@
15
  "3": "LABEL_3"
16
  },
17
  "initializer_range": 0.02,
 
18
  "label2id": {
19
  "LABEL_0": 0,
20
  "LABEL_1": 1,
21
  "LABEL_2": 2,
22
  "LABEL_3": 3
23
  },
 
24
  "max_position_embeddings": 512,
25
- "model_type": "distilbert",
26
- "n_heads": 12,
27
- "n_layers": 6,
28
  "pad_token_id": 0,
29
- "qa_dropout": 0.1,
30
- "seq_classif_dropout": 0.2,
31
- "sinusoidal_pos_embds": false,
32
- "tie_weights_": true,
33
  "torch_dtype": "float32",
34
  "transformers_version": "4.34.1",
 
 
35
  "vocab_size": 30522
36
  }
 
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,
12
  "id2label": {
13
  "0": "LABEL_0",
14
  "1": "LABEL_1",
 
16
  "3": "LABEL_3"
17
  },
18
  "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
  "label2id": {
21
  "LABEL_0": 0,
22
  "LABEL_1": 1,
23
  "LABEL_2": 2,
24
  "LABEL_3": 3
25
  },
26
+ "layer_norm_eps": 1e-12,
27
  "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
  "pad_token_id": 0,
32
+ "position_embedding_type": "absolute",
 
 
 
33
  "torch_dtype": "float32",
34
  "transformers_version": "4.34.1",
35
+ "type_vocab_size": 2,
36
+ "use_cache": true,
37
  "vocab_size": 30522
38
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d5d287eecaf6ef80d8a7dedc960a6471c70b56f7a3f1d61c70222082ccac728
3
- size 267862122
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6dc17f34b050bb1a6f3ce3691264b6116206589444da3fbda612cbb3f417e1d
3
+ size 438010094