Tran Hung Phong
commited on
Commit
•
6eca240
1
Parent(s):
33d9907
Upload RobertaForTokenClassification
Browse files- config.json +106 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/phongtnh/MyProjects/VietMed_NER/outputs/vinai/phobert-base-v2",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "I-ORGAN",
|
15 |
+
"1": "B-PREVENTIVEMED",
|
16 |
+
"2": "B-DISEASESYMTOM",
|
17 |
+
"3": "B-FOODDRINK",
|
18 |
+
"4": "B-ORGANIZATION",
|
19 |
+
"5": "B-OCCUPATION",
|
20 |
+
"6": "B-DRUGCHEMICAL",
|
21 |
+
"7": "I-FOODDRINK",
|
22 |
+
"8": "I-DISEASESYMTOM",
|
23 |
+
"9": "I-UNITCALIBRATOR",
|
24 |
+
"10": "I-DATETIME",
|
25 |
+
"11": "I-DIAGNOSTICS",
|
26 |
+
"12": "B-TRANSPORTATION",
|
27 |
+
"13": "B-GENDER",
|
28 |
+
"14": "B-AGE",
|
29 |
+
"15": "B-DATETIME",
|
30 |
+
"16": "B-LOCATION",
|
31 |
+
"17": "B-TREATMENT",
|
32 |
+
"18": "I-DRUGCHEMICAL",
|
33 |
+
"19": "I-PREVENTIVEMED",
|
34 |
+
"20": "I-TREATMENT",
|
35 |
+
"21": "I-ORGANIZATION",
|
36 |
+
"22": "0",
|
37 |
+
"23": "B-UNITCALIBRATOR",
|
38 |
+
"24": "B-MEDDEVICETECHNIQUE",
|
39 |
+
"25": "I-OCCUPATION",
|
40 |
+
"26": "B-PERSONALCARE",
|
41 |
+
"27": "I-PERSONALCARE",
|
42 |
+
"28": "I-GENDER",
|
43 |
+
"29": "I-SURGERY",
|
44 |
+
"30": "I-AGE",
|
45 |
+
"31": "I-LOCATION",
|
46 |
+
"32": "B-DIAGNOSTICS",
|
47 |
+
"33": "I-MEDDEVICETECHNIQUE",
|
48 |
+
"34": "B-ORGAN",
|
49 |
+
"35": "B-SURGERY",
|
50 |
+
"36": "I-TRANSPORTATION"
|
51 |
+
},
|
52 |
+
"initializer_range": 0.02,
|
53 |
+
"intermediate_size": 3072,
|
54 |
+
"label2id": {
|
55 |
+
"0": 22,
|
56 |
+
"B-AGE": 14,
|
57 |
+
"B-DATETIME": 15,
|
58 |
+
"B-DIAGNOSTICS": 32,
|
59 |
+
"B-DISEASESYMTOM": 2,
|
60 |
+
"B-DRUGCHEMICAL": 6,
|
61 |
+
"B-FOODDRINK": 3,
|
62 |
+
"B-GENDER": 13,
|
63 |
+
"B-LOCATION": 16,
|
64 |
+
"B-MEDDEVICETECHNIQUE": 24,
|
65 |
+
"B-OCCUPATION": 5,
|
66 |
+
"B-ORGAN": 34,
|
67 |
+
"B-ORGANIZATION": 4,
|
68 |
+
"B-PERSONALCARE": 26,
|
69 |
+
"B-PREVENTIVEMED": 1,
|
70 |
+
"B-SURGERY": 35,
|
71 |
+
"B-TRANSPORTATION": 12,
|
72 |
+
"B-TREATMENT": 17,
|
73 |
+
"B-UNITCALIBRATOR": 23,
|
74 |
+
"I-AGE": 30,
|
75 |
+
"I-DATETIME": 10,
|
76 |
+
"I-DIAGNOSTICS": 11,
|
77 |
+
"I-DISEASESYMTOM": 8,
|
78 |
+
"I-DRUGCHEMICAL": 18,
|
79 |
+
"I-FOODDRINK": 7,
|
80 |
+
"I-GENDER": 28,
|
81 |
+
"I-LOCATION": 31,
|
82 |
+
"I-MEDDEVICETECHNIQUE": 33,
|
83 |
+
"I-OCCUPATION": 25,
|
84 |
+
"I-ORGAN": 0,
|
85 |
+
"I-ORGANIZATION": 21,
|
86 |
+
"I-PERSONALCARE": 27,
|
87 |
+
"I-PREVENTIVEMED": 19,
|
88 |
+
"I-SURGERY": 29,
|
89 |
+
"I-TRANSPORTATION": 36,
|
90 |
+
"I-TREATMENT": 20,
|
91 |
+
"I-UNITCALIBRATOR": 9
|
92 |
+
},
|
93 |
+
"layer_norm_eps": 1e-05,
|
94 |
+
"max_position_embeddings": 258,
|
95 |
+
"model_type": "roberta",
|
96 |
+
"num_attention_heads": 12,
|
97 |
+
"num_hidden_layers": 12,
|
98 |
+
"pad_token_id": 1,
|
99 |
+
"position_embedding_type": "absolute",
|
100 |
+
"tokenizer_class": "PhobertTokenizer",
|
101 |
+
"torch_dtype": "float32",
|
102 |
+
"transformers_version": "4.32.0.dev0",
|
103 |
+
"type_vocab_size": 1,
|
104 |
+
"use_cache": true,
|
105 |
+
"vocab_size": 64001
|
106 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e80c6ae1d220b10d2e7d4a060b9e6ed13acd313991ce89a92f28e9124010d08
|
3 |
+
size 537810534
|