sachiniyer commited on
Commit
b75bb99
·
1 Parent(s): a8aa4d5

Upload 5 files

Browse files
Files changed (2) hide show
  1. config.json +18 -18
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -2,13 +2,29 @@
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
  "initializer_range": 0.02,
 
 
 
 
 
 
 
 
12
  "max_position_embeddings": 512,
13
  "model_type": "distilbert",
14
  "n_heads": 12,
@@ -20,21 +36,5 @@
20
  "tie_weights_": true,
21
  "torch_dtype": "float32",
22
  "transformers_version": "4.28.1",
23
- "vocab_size": 30522,
24
- "id2label": {
25
- "0": "toxic",
26
- "1": "severely toxic",
27
- "2": "obscene",
28
- "3": "threat",
29
- "4": "insult",
30
- "5": "identity hate"
31
- },
32
- "label2id": {
33
- "toxic": 0,
34
- "severely_toxic": 1,
35
- "obscene": 2,
36
- "threat": 3,
37
- "insult": 4,
38
- "identity hate": 5
39
- }
40
  }
 
2
  "_name_or_path": "distilbert-base-uncased",
3
  "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertModel"
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
+ "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",
30
  "n_heads": 12,
 
36
  "tie_weights_": true,
37
  "torch_dtype": "float32",
38
  "transformers_version": "4.28.1",
39
+ "vocab_size": 30522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fb6324bd570c81b64fce81ab244416f81f79ef5ebe85d611481802ca57af94d4
3
  size 265484701
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36f28b4f5483a32572559c33353d1c26275b340187179f66295be5e64f55f276
3
  size 265484701