mobashgr
commited on
Commit
•
f05c94a
0
Parent(s):
intial commit
Browse files- config.json +39 -0
- eval_results.txt +8 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- test_predictions.txt +0 -0
- test_results.txt +7 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "kamalkraj/bioelectra-base-discriminator-pubmed",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "B-bio",
|
14 |
+
"1": "I-bio",
|
15 |
+
"2": "O"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"B-bio": 0,
|
21 |
+
"I-bio": 1,
|
22 |
+
"O": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "electra",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"summary_activation": "gelu",
|
32 |
+
"summary_last_dropout": 0.1,
|
33 |
+
"summary_type": "first",
|
34 |
+
"summary_use_proj": true,
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.11.3",
|
37 |
+
"type_vocab_size": 2,
|
38 |
+
"vocab_size": 30522
|
39 |
+
}
|
eval_results.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
eval_loss = 0.0001628373865969479
|
2 |
+
eval_precision = 0.9983676134508651
|
3 |
+
eval_recall = 0.9986936642717178
|
4 |
+
eval_f1 = 0.9985306122448979
|
5 |
+
eval_runtime = 63.4689
|
6 |
+
eval_samples_per_second = 39.878
|
7 |
+
eval_steps_per_second = 4.995
|
8 |
+
epoch = 10.0
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d5eafaf6354cda2c2a5b360cf147cd108f88448e955b3b90a5284ea0517fdb4
|
3 |
+
size 435660465
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
test_predictions.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
test_results.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
test_loss = 0.1286856085062027
|
2 |
+
test_precision = 0.8334623123355518
|
3 |
+
test_recall = 0.8513833992094861
|
4 |
+
test_f1 = 0.8423275457531676
|
5 |
+
test_runtime = 127.6505
|
6 |
+
test_samples_per_second = 39.679
|
7 |
+
test_steps_per_second = 4.967
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "kamalkraj/bioelectra-base-discriminator-pubmed", "tokenizer_class": "ElectraTokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16bf8d8ab58343ad1b87d903a1dae31ff2c1e45bd93e033f085b765e207cc587
|
3 |
+
size 2927
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|