init commit
Browse files- config.json +67 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "csebuetnlp/banglishbert",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"amp": true,
|
5 |
+
"architectures": [
|
6 |
+
"ElectraForTokenClassification"
|
7 |
+
],
|
8 |
+
"attention_probs_dropout_prob": 0.4,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"embedding_size": 768,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.4,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "O",
|
16 |
+
"1": "B-Symptom",
|
17 |
+
"2": "I-Symptom",
|
18 |
+
"3": "B-Health Condition",
|
19 |
+
"4": "I-Health Condition",
|
20 |
+
"5": "B-Age",
|
21 |
+
"6": "I-Age",
|
22 |
+
"7": "B-Medicine",
|
23 |
+
"8": "I-Medicine",
|
24 |
+
"9": "B-Dosage",
|
25 |
+
"10": "I-Dosage",
|
26 |
+
"11": "B-Medical Procedure",
|
27 |
+
"12": "I-Medical Procedure",
|
28 |
+
"13": "B-Specialist",
|
29 |
+
"14": "I-Specialist"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"B-Age": 5,
|
35 |
+
"B-Dosage": 9,
|
36 |
+
"B-Health Condition": 3,
|
37 |
+
"B-Medical Procedure": 11,
|
38 |
+
"B-Medicine": 7,
|
39 |
+
"B-Specialist": 13,
|
40 |
+
"B-Symptom": 1,
|
41 |
+
"I-Age": 6,
|
42 |
+
"I-Dosage": 10,
|
43 |
+
"I-Health Condition": 4,
|
44 |
+
"I-Medical Procedure": 12,
|
45 |
+
"I-Medicine": 8,
|
46 |
+
"I-Specialist": 14,
|
47 |
+
"I-Symptom": 2,
|
48 |
+
"O": 0
|
49 |
+
},
|
50 |
+
"layer_norm_eps": 1e-12,
|
51 |
+
"max_position_embeddings": 512,
|
52 |
+
"model_type": "electra",
|
53 |
+
"num_attention_heads": 12,
|
54 |
+
"num_hidden_layers": 12,
|
55 |
+
"output_past": true,
|
56 |
+
"pad_token_id": 0,
|
57 |
+
"position_embedding_type": "absolute",
|
58 |
+
"summary_activation": "gelu",
|
59 |
+
"summary_last_dropout": 0.1,
|
60 |
+
"summary_type": "first",
|
61 |
+
"summary_use_proj": true,
|
62 |
+
"torch_dtype": "float32",
|
63 |
+
"transformers_version": "4.42.4",
|
64 |
+
"type_vocab_size": 2,
|
65 |
+
"use_cache": true,
|
66 |
+
"vocab_size": 32000
|
67 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4177eec99cb86ccf82e80eeee5dfbced90406dc51e66fbb55c4c7e7a47124f30
|
3 |
+
size 440177068
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": false,
|
48 |
+
"full_tokenizer_file": null,
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": false,
|
56 |
+
"tokenizer_class": "ElectraTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf37ab4552122a2995b84c839e26a7b4260f7cfcbb7b2ab61b8f964d5a043c2c
|
3 |
+
size 5112
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|