mmeberg commited on
Commit
ed6af64
·
1 Parent(s): 1c9f8f0

Upload DistilBertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-rce",
14
+ "2": "I-rce",
15
+ "3": "B-oob",
16
+ "4": "I-oob",
17
+ "5": "B-xss",
18
+ "6": "I-xss",
19
+ "7": "B-sql",
20
+ "8": "I-sql",
21
+ "9": "B-iiv",
22
+ "10": "I-iiv",
23
+ "11": "B-pat",
24
+ "12": "I-pat"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "label2id": {
28
+ "B-iiv": 9,
29
+ "B-oob": 3,
30
+ "B-pat": 11,
31
+ "B-rce": 1,
32
+ "B-sql": 7,
33
+ "B-xss": 5,
34
+ "I-iiv": 10,
35
+ "I-oob": 4,
36
+ "I-pat": 12,
37
+ "I-rce": 2,
38
+ "I-sql": 8,
39
+ "I-xss": 6,
40
+ "O": 0
41
+ },
42
+ "max_position_embeddings": 512,
43
+ "model_type": "distilbert",
44
+ "n_heads": 12,
45
+ "n_layers": 6,
46
+ "pad_token_id": 0,
47
+ "qa_dropout": 0.1,
48
+ "seq_classif_dropout": 0.2,
49
+ "sinusoidal_pos_embds": false,
50
+ "tie_weights_": true,
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.30.2",
53
+ "vocab_size": 30522
54
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba2164a0784465d4af81d7c5feae59f6f3ca1128b113cd897a1623230edba363
3
+ size 265526309