ficsort commited on
Commit
4730900
·
1 Parent(s): 5219cdb

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +50 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-large-uncased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "first_token": false,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "B-LOC": 5,
15
+ "B-MISC": 7,
16
+ "B-ORG": 3,
17
+ "B-PER": 1,
18
+ "I-LOC": 6,
19
+ "I-MISC": 8,
20
+ "I-ORG": 4,
21
+ "I-PER": 2,
22
+ "O": 0
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 4096,
26
+ "label2id": {
27
+ "B-LOC": 5,
28
+ "B-MISC": 7,
29
+ "B-ORG": 3,
30
+ "B-PER": 1,
31
+ "I-LOC": 6,
32
+ "I-MISC": 8,
33
+ "I-ORG": 4,
34
+ "I-PER": 2,
35
+ "O": 0
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "loss": "ce",
39
+ "max_position_embeddings": 512,
40
+ "model_type": "bert",
41
+ "num_attention_heads": 16,
42
+ "num_hidden_layers": 24,
43
+ "pad_token_id": 0,
44
+ "position_embedding_type": "absolute",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.26.1",
47
+ "type_vocab_size": 2,
48
+ "use_cache": true,
49
+ "vocab_size": 30522
50
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e74ffb342870273ea6bbf39fa6120b65c12071a3e4f3e57b1084bc56b0d436e
3
+ size 1336544237