mariasandu commited on
Commit
f57be02
1 Parent(s): bbcccfe

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +41 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "toxic",
13
+ "1": "severe_toxic",
14
+ "2": "obscene",
15
+ "3": "threat",
16
+ "4": "insult",
17
+ "5": "identity_hate"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "identity_hate": 5,
22
+ "insult": 4,
23
+ "obscene": 2,
24
+ "severe_toxic": 1,
25
+ "threat": 3,
26
+ "toxic": 0
27
+ },
28
+ "max_position_embeddings": 512,
29
+ "model_type": "distilbert",
30
+ "n_heads": 12,
31
+ "n_layers": 6,
32
+ "pad_token_id": 0,
33
+ "problem_type": "multi_label_classification",
34
+ "qa_dropout": 0.1,
35
+ "seq_classif_dropout": 0.2,
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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae26e3eeae02bc8b4e596bc70d5886461788d2a81e60841e4b063d8525937034
3
+ size 267867821