Tran Hung Phong commited on
Commit
61e64be
1 Parent(s): 41d48d1

Upload RobertaForTokenClassification

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