lixin12345 commited on
Commit
d787821
·
verified ·
1 Parent(s): 49c94ac

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +97 -0
config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-chinese",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-DiseaseNameOrComprehensiveCertificate",
15
+ "2": "I-DiseaseNameOrComprehensiveCertificate",
16
+ "3": "B-InspectionProcedure",
17
+ "4": "I-InspectionProcedure",
18
+ "5": "B-Drug",
19
+ "6": "I-Drug",
20
+ "7": "B-TreatmentEquipment",
21
+ "8": "I-TreatmentEquipment",
22
+ "9": "B-Symptom",
23
+ "10": "I-Symptom",
24
+ "11": "B-Department",
25
+ "12": "I-Department",
26
+ "13": "B-TreatmentOrPreventionProcedures",
27
+ "14": "I-TreatmentOrPreventionProcedures",
28
+ "15": "B-Sign",
29
+ "16": "I-Sign",
30
+ "17": "B-OrganOrCellDamage",
31
+ "18": "I-OrganOrCellDamage",
32
+ "19": "B-BodyParts",
33
+ "20": "I-BodyParts",
34
+ "21": "B-MedicalTestingItems",
35
+ "22": "I-MedicalTestingItems",
36
+ "23": "B-InjuryOrPoisoning",
37
+ "24": "I-InjuryOrPoisoning",
38
+ "25": "B-Microbiology",
39
+ "26": "I-Microbiology",
40
+ "27": "B-MedicalProcedures",
41
+ "28": "I-MedicalProcedures",
42
+ "29": "B-InspectEquipment",
43
+ "30": "I-InspectEquipment"
44
+ },
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 3072,
47
+ "label2id": {
48
+ "B-BodyParts": 19,
49
+ "B-Department": 11,
50
+ "B-DiseaseNameOrComprehensiveCertificate": 1,
51
+ "B-Drug": 5,
52
+ "B-InjuryOrPoisoning": 23,
53
+ "B-InspectEquipment": 29,
54
+ "B-InspectionProcedure": 3,
55
+ "B-MedicalProcedures": 27,
56
+ "B-MedicalTestingItems": 21,
57
+ "B-Microbiology": 25,
58
+ "B-OrganOrCellDamage": 17,
59
+ "B-Sign": 15,
60
+ "B-Symptom": 9,
61
+ "B-TreatmentEquipment": 7,
62
+ "B-TreatmentOrPreventionProcedures": 13,
63
+ "I-BodyParts": 20,
64
+ "I-Department": 12,
65
+ "I-DiseaseNameOrComprehensiveCertificate": 2,
66
+ "I-Drug": 6,
67
+ "I-InjuryOrPoisoning": 24,
68
+ "I-InspectEquipment": 30,
69
+ "I-InspectionProcedure": 4,
70
+ "I-MedicalProcedures": 28,
71
+ "I-MedicalTestingItems": 22,
72
+ "I-Microbiology": 26,
73
+ "I-OrganOrCellDamage": 18,
74
+ "I-Sign": 16,
75
+ "I-Symptom": 10,
76
+ "I-TreatmentEquipment": 8,
77
+ "I-TreatmentOrPreventionProcedures": 14,
78
+ "O": 0
79
+ },
80
+ "layer_norm_eps": 1e-12,
81
+ "max_position_embeddings": 512,
82
+ "model_type": "bert",
83
+ "num_attention_heads": 12,
84
+ "num_hidden_layers": 12,
85
+ "pad_token_id": 0,
86
+ "pooler_fc_size": 768,
87
+ "pooler_num_attention_heads": 12,
88
+ "pooler_num_fc_layers": 3,
89
+ "pooler_size_per_head": 128,
90
+ "pooler_type": "first_token_transform",
91
+ "position_embedding_type": "absolute",
92
+ "torch_dtype": "float32",
93
+ "transformers_version": "4.40.2",
94
+ "type_vocab_size": 2,
95
+ "use_cache": true,
96
+ "vocab_size": 21128
97
+ }