mireiaplalis
commited on
Commit
•
897e140
1
Parent(s):
4e4615f
Training in progress, epoch 1
Browse files- config.json +56 -0
- model.safetensors +3 -0
- runs/Dec06_14-10-02_01552d10da9f/events.out.tfevents.1701871802.01552d10da9f.326.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/electra-small-discriminator",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 128,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 256,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-ADR",
|
15 |
+
"2": "I-ADR",
|
16 |
+
"3": "B-Drug",
|
17 |
+
"4": "I-Drug",
|
18 |
+
"5": "B-Disease",
|
19 |
+
"6": "I-Disease",
|
20 |
+
"7": "B-Symptom",
|
21 |
+
"8": "I-Symptom",
|
22 |
+
"9": "B-Finding",
|
23 |
+
"10": "I-Finding"
|
24 |
+
},
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 1024,
|
27 |
+
"label2id": {
|
28 |
+
"B-ADR": 1,
|
29 |
+
"B-Disease": 5,
|
30 |
+
"B-Drug": 3,
|
31 |
+
"B-Finding": 9,
|
32 |
+
"B-Symptom": 7,
|
33 |
+
"I-ADR": 2,
|
34 |
+
"I-Disease": 6,
|
35 |
+
"I-Drug": 4,
|
36 |
+
"I-Finding": 10,
|
37 |
+
"I-Symptom": 8,
|
38 |
+
"O": 0
|
39 |
+
},
|
40 |
+
"layer_norm_eps": 1e-12,
|
41 |
+
"max_position_embeddings": 512,
|
42 |
+
"model_type": "electra",
|
43 |
+
"num_attention_heads": 4,
|
44 |
+
"num_hidden_layers": 12,
|
45 |
+
"pad_token_id": 0,
|
46 |
+
"position_embedding_type": "absolute",
|
47 |
+
"summary_activation": "gelu",
|
48 |
+
"summary_last_dropout": 0.1,
|
49 |
+
"summary_type": "first",
|
50 |
+
"summary_use_proj": true,
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.35.2",
|
53 |
+
"type_vocab_size": 2,
|
54 |
+
"use_cache": true,
|
55 |
+
"vocab_size": 30522
|
56 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3268f87607d5500ade7646ed3dfab1d39dc8bc41136cf4b87c3c4ee071102ef1
|
3 |
+
size 53967084
|
runs/Dec06_14-10-02_01552d10da9f/events.out.tfevents.1701871802.01552d10da9f.326.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b332c0803b8ccd12f7bd98f1cabc43d351310e7230945157aab70477a4f3c794
|
3 |
+
size 8029
|
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,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
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_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "ElectraTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2ff0de96d3e676705b91c341c7a836db0b2c9eba7f0444c73652393f3c0ce1f
|
3 |
+
size 4664
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|