hsuvaskakoty commited on
Commit
8f975fd
·
1 Parent(s): 48c3a3c

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +15 -16
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,37 +1,36 @@
1
  {
2
- "_name_or_path": "bert-base-cased",
 
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",
15
  "2": "LABEL_2"
16
  },
17
  "initializer_range": 0.02,
18
- "intermediate_size": 3072,
19
  "label2id": {
20
  "LABEL_0": 0,
21
  "LABEL_1": 1,
22
  "LABEL_2": 2
23
  },
24
- "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
26
- "model_type": "bert",
27
- "num_attention_heads": 12,
28
- "num_hidden_layers": 12,
 
29
  "pad_token_id": 0,
30
- "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
 
 
 
 
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.29.1",
34
- "type_vocab_size": 2,
35
- "use_cache": true,
36
  "vocab_size": 29000
37
  }
 
1
  {
2
+ "_name_or_path": "distilbert-base-cased",
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",
14
  "2": "LABEL_2"
15
  },
16
  "initializer_range": 0.02,
 
17
  "label2id": {
18
  "LABEL_0": 0,
19
  "LABEL_1": 1,
20
  "LABEL_2": 2
21
  },
 
22
  "max_position_embeddings": 512,
23
+ "model_type": "distilbert",
24
+ "n_heads": 12,
25
+ "n_layers": 6,
26
+ "output_past": true,
27
  "pad_token_id": 0,
 
28
  "problem_type": "single_label_classification",
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.29.1",
 
 
35
  "vocab_size": 29000
36
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ec339f320a9f4d1f57a073398f578f6c3df97b01eded83ad6591a86dcc7d3afb
3
- size 433335413
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dce7c4bfbecf0c42c8d3533161e15268d584752a815f9586050aba68ee4d907a
3
+ size 263183021