AyoubChLin commited on
Commit
18f4ad7
1 Parent(s): 291a6f5

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +13 -13
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -9,21 +9,21 @@
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
11
  "id2label": {
12
- "0": "business",
13
- "1": "entertainment",
14
- "2": "health",
15
- "3": "news",
16
- "4": "politics",
17
- "5": "sport"
18
  },
19
  "initializer_range": 0.02,
20
  "label2id": {
21
- "business": 0,
22
- "entertainment": 1,
23
- "health": 2,
24
- "news": 3,
25
- "politics": 4,
26
- "sport": 5
27
  },
28
  "max_position_embeddings": 512,
29
  "model_type": "distilbert",
@@ -36,6 +36,6 @@
36
  "sinusoidal_pos_embds": false,
37
  "tie_weights_": true,
38
  "torch_dtype": "float32",
39
- "transformers_version": "4.26.1",
40
  "vocab_size": 30522
41
  }
 
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
+ "5": "LABEL_5"
18
  },
19
  "initializer_range": 0.02,
20
  "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3,
25
+ "LABEL_4": 4,
26
+ "LABEL_5": 5
27
  },
28
  "max_position_embeddings": 512,
29
  "model_type": "distilbert",
 
36
  "sinusoidal_pos_embds": false,
37
  "tie_weights_": true,
38
  "torch_dtype": "float32",
39
+ "transformers_version": "4.28.1",
40
  "vocab_size": 30522
41
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bee97909842a5b64783e363e201a18b9c8de2aaa304a4ea7bcfa769c300ddac4
3
  size 267867821
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9753663fee5b8a898fc9a184af9c44f5f609d917daac93899240c581fe609323
3
  size 267867821