Asphate lever commited on
Commit
17e60a6
·
verified ·
1 Parent(s): 329dff2

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +27 -19
config.json CHANGED
@@ -1,39 +1,47 @@
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",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4"
17
- },
18
  "initializer_range": 0.02,
19
- "label2id": {
20
- "LABEL_0": 0,
21
- "LABEL_1": 1,
22
- "LABEL_2": 2,
23
- "LABEL_3": 3,
24
- "LABEL_4": 4
25
- },
26
  "max_position_embeddings": 512,
27
  "model_type": "distilbert",
28
  "n_heads": 12,
29
  "n_layers": 6,
30
- "pad_token_id": 0,
31
- "problem_type": "single_label_classification",
 
 
 
32
  "qa_dropout": 0.1,
33
  "seq_classif_dropout": 0.2,
34
  "sinusoidal_pos_embds": false,
35
  "tie_weights_": true,
36
  "torch_dtype": "float32",
37
  "transformers_version": "4.41.2",
38
- "vocab_size": 30522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
 
1
  {
2
  "_name_or_path": "distilbert-base-uncased",
 
3
  "architectures": [
4
  "DistilBertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
  "dim": 768,
9
  "dropout": 0.1,
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
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 6,
18
+ "num_labels": 5,
19
+ "output_attentions": false,
20
+ "output_hidden_states": false,
21
  "qa_dropout": 0.1,
22
  "seq_classif_dropout": 0.2,
23
  "sinusoidal_pos_embds": false,
24
  "tie_weights_": true,
25
  "torch_dtype": "float32",
26
  "transformers_version": "4.41.2",
27
+ "vocab_size": 30522,
28
+
29
+ "id2label": {
30
+ "0": "business",
31
+ "1": "entertainment",
32
+ "2": "politics",
33
+ "3": "sport",
34
+ "4": "tech"
35
+ },
36
+ "label2id": {
37
+ "business": 0,
38
+ "entertainment": 1,
39
+ "politics": 2,
40
+ "sport": 3,
41
+ "tech": 4
42
+ },
43
+
44
+ "base_model": "distilbert-base-uncased",
45
+ "finetuning_task": "text-classification",
46
+ "problem_type": "single_label_classification"
47
  }