matthewleechen commited on
Commit
2f75d41
1 Parent(s): c2b0fc5

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +63 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dbmdz/bert-base-historic-multilingual-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-DATE",
14
+ "2": "I-DATE",
15
+ "3": "B-NUM",
16
+ "4": "B-PER",
17
+ "5": "I-PER",
18
+ "6": "B-LOC",
19
+ "7": "I-LOC",
20
+ "8": "B-OCC",
21
+ "9": "I-OCC",
22
+ "10": "B-MISC",
23
+ "11": "I-MISC",
24
+ "12": "B-INFO",
25
+ "13": "I-INFO",
26
+ "14": "B-COMM",
27
+ "15": "I-COMM",
28
+ "16": "I-NUM"
29
+ },
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": 3072,
32
+ "label2id": {
33
+ "B-COMM": 14,
34
+ "B-DATE": 1,
35
+ "B-INFO": 12,
36
+ "B-LOC": 6,
37
+ "B-MISC": 10,
38
+ "B-NUM": 3,
39
+ "B-OCC": 8,
40
+ "B-PER": 4,
41
+ "I-COMM": 15,
42
+ "I-DATE": 2,
43
+ "I-INFO": 13,
44
+ "I-LOC": 7,
45
+ "I-MISC": 11,
46
+ "I-NUM": 16,
47
+ "I-OCC": 9,
48
+ "I-PER": 5,
49
+ "O": 0
50
+ },
51
+ "layer_norm_eps": 1e-12,
52
+ "max_position_embeddings": 512,
53
+ "model_type": "bert",
54
+ "num_attention_heads": 12,
55
+ "num_hidden_layers": 12,
56
+ "pad_token_id": 0,
57
+ "position_embedding_type": "absolute",
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.34.0",
60
+ "type_vocab_size": 2,
61
+ "use_cache": true,
62
+ "vocab_size": 32000
63
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22777955c22448edfefb5b3edc9483e71c660715dec66822f2379a0bb7f04f1d
3
+ size 440227049