mackseem commited on
Commit
45eaa41
1 Parent(s): 274bffa

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-corporation",
14
+ "2": "I-corporation",
15
+ "3": "B-creative-work",
16
+ "4": "I-creative-work",
17
+ "5": "B-group",
18
+ "6": "I-group",
19
+ "7": "B-location",
20
+ "8": "I-location",
21
+ "9": "B-person",
22
+ "10": "I-person",
23
+ "11": "B-product",
24
+ "12": "I-product"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "label2id": {
28
+ "B-corporation": 1,
29
+ "B-creative-work": 3,
30
+ "B-group": 5,
31
+ "B-location": 7,
32
+ "B-person": 9,
33
+ "B-product": 11,
34
+ "I-corporation": 2,
35
+ "I-creative-work": 4,
36
+ "I-group": 6,
37
+ "I-location": 8,
38
+ "I-person": 10,
39
+ "I-product": 12,
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.25.1",
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:db8fc25d5554c9283b9134cd331777e8e76045242a2178f318e331d3cd3916b8
3
+ size 265524901