r1char9 commited on
Commit
a438cb3
·
verified ·
1 Parent(s): 6c58bde

Upload BertForTokenClassification

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