matthewleechen commited on
Commit
1cebd5d
1 Parent(s): 9196ca0

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +43 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-PER",
14
+ "2": "I-PER",
15
+ "3": "B-ITEM",
16
+ "4": "I-ITEM",
17
+ "5": "B-LOC",
18
+ "6": "I-LOC"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "B-ITEM": 3,
24
+ "B-LOC": 5,
25
+ "B-PER": 1,
26
+ "I-ITEM": 4,
27
+ "I-LOC": 6,
28
+ "I-PER": 2,
29
+ "O": 0
30
+ },
31
+ "layer_norm_eps": 1e-12,
32
+ "max_position_embeddings": 512,
33
+ "model_type": "bert",
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 12,
36
+ "pad_token_id": 0,
37
+ "position_embedding_type": "absolute",
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.33.3",
40
+ "type_vocab_size": 2,
41
+ "use_cache": true,
42
+ "vocab_size": 32000
43
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7a27893d4c9f7dc7e4a4a102855c5e6071a90b6ea37e1422814dcb4d45f72ed
3
+ size 440196265