mireiaplalis
commited on
Commit
•
7f178ba
1
Parent(s):
e2aef1d
Training in progress, epoch 1
Browse files- config.json +59 -0
- model.safetensors +3 -0
- runs/Dec05_16-08-34_464cd201d488/events.out.tfevents.1701792515.464cd201d488.162.1 +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "albert-base-v2",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "gelu_new",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "O",
|
18 |
+
"1": "B-ADR",
|
19 |
+
"2": "I-ADR",
|
20 |
+
"3": "B-Drug",
|
21 |
+
"4": "I-Drug",
|
22 |
+
"5": "B-Disease",
|
23 |
+
"6": "I-Disease",
|
24 |
+
"7": "B-Symptom",
|
25 |
+
"8": "I-Symptom",
|
26 |
+
"9": "B-Finding",
|
27 |
+
"10": "I-Finding"
|
28 |
+
},
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"inner_group_num": 1,
|
31 |
+
"intermediate_size": 3072,
|
32 |
+
"label2id": {
|
33 |
+
"B-ADR": 1,
|
34 |
+
"B-Disease": 5,
|
35 |
+
"B-Drug": 3,
|
36 |
+
"B-Finding": 9,
|
37 |
+
"B-Symptom": 7,
|
38 |
+
"I-ADR": 2,
|
39 |
+
"I-Disease": 6,
|
40 |
+
"I-Drug": 4,
|
41 |
+
"I-Finding": 10,
|
42 |
+
"I-Symptom": 8,
|
43 |
+
"O": 0
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-12,
|
46 |
+
"max_position_embeddings": 512,
|
47 |
+
"model_type": "albert",
|
48 |
+
"net_structure_type": 0,
|
49 |
+
"num_attention_heads": 12,
|
50 |
+
"num_hidden_groups": 1,
|
51 |
+
"num_hidden_layers": 12,
|
52 |
+
"num_memory_blocks": 0,
|
53 |
+
"pad_token_id": 0,
|
54 |
+
"position_embedding_type": "absolute",
|
55 |
+
"torch_dtype": "float32",
|
56 |
+
"transformers_version": "4.35.2",
|
57 |
+
"type_vocab_size": 2,
|
58 |
+
"vocab_size": 30000
|
59 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a6333cb9f63491d57d23837c74a4b742f46a2863d8068ff86b0209101d0630d
|
3 |
+
size 44409052
|
runs/Dec05_16-08-34_464cd201d488/events.out.tfevents.1701792515.464cd201d488.162.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:272b1790a797eaa5661891c0b5bb86956d3d0e5bf3d66b5a790028fdd746b294
|
3 |
+
size 7998
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "[MASK]",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "[SEP]",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "[CLS]",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "[CLS]",
|
47 |
+
"do_lower_case": true,
|
48 |
+
"eos_token": "[SEP]",
|
49 |
+
"keep_accents": false,
|
50 |
+
"mask_token": "[MASK]",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"remove_space": true,
|
54 |
+
"sep_token": "[SEP]",
|
55 |
+
"tokenizer_class": "AlbertTokenizer",
|
56 |
+
"unk_token": "<unk>"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ad40e31df3b4f5c57f44b4f255eefd5889f19e142d0566572132bc72873e249
|
3 |
+
size 4600
|