Idrissa242 commited on
Commit
e73eaee
·
verified ·
1 Parent(s): 0c0f3a2

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ test_predictions.tsv filter=lfs diff=lfs merge=lfs -text
eval_metrics.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_loss": 0.08838225156068802,
3
+ "eval_precision_micro": 0.9137209057196792,
4
+ "eval_recall_micro": 0.92101958814666,
5
+ "eval_f1_macro": 0.9173557296852678,
6
+ "eval_runtime": 203.9297,
7
+ "eval_samples_per_second": 173.241,
8
+ "eval_steps_per_second": 5.419,
9
+ "epoch": 5.0,
10
+ "eval_time_sec": 203.94711804389954,
11
+ "seed": 42
12
+ }
eval_metrics_first.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_loss": 0.05052988976240158,
3
+ "eval_precision": 0.9132909943929511,
4
+ "eval_recall": 0.925076304910559,
5
+ "eval_f1": 0.9191458733205373,
6
+ "eval_runtime": 195.042,
7
+ "eval_samples_per_second": 181.135,
8
+ "eval_steps_per_second": 5.665,
9
+ "epoch": 2.0,
10
+ "eval_time_sec": 195.07488226890564
11
+ }
final_checkpoint/config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "alvaroalon2/biobert_genetic_ner",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B",
15
+ "1": "I",
16
+ "2": "O"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "B": 0,
22
+ "I": 1,
23
+ "O": 2
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 0,
31
+ "position_embedding_type": "absolute",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.45.2",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 28996
37
+ }
final_checkpoint/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5da5a0d170bf24bf3d3465b4f735e90a5f67fa31b0cae02efad36fc0d4575eec
3
+ size 430911284
final_checkpoint/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
+ }
final_checkpoint/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
final_checkpoint/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
+ "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_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "max_len": 512,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
final_checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:328951f9d3ed651c94d20659b0ecebfde97a0d12959e2f83ecad51a5c4235cc7
3
+ size 5585
final_checkpoint/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
test_metrics.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "precision": 0.9323169988588396,
3
+ "recall": 0.9191196548522745,
4
+ "f1_micro": 0.9256712904396801,
5
+ "f1_macro": 0.9256712904396801,
6
+ "classification_report": {
7
+ "_": {
8
+ "precision": 0.9323169988588396,
9
+ "recall": 0.9191196548522745,
10
+ "f1-score": 0.9256712904396801,
11
+ "support": 91555
12
+ },
13
+ "micro avg": {
14
+ "precision": 0.9323169988588396,
15
+ "recall": 0.9191196548522745,
16
+ "f1-score": 0.9256712904396801,
17
+ "support": 91555
18
+ },
19
+ "macro avg": {
20
+ "precision": 0.9323169988588396,
21
+ "recall": 0.9191196548522745,
22
+ "f1-score": 0.9256712904396801,
23
+ "support": 91555
24
+ },
25
+ "weighted avg": {
26
+ "precision": 0.9323169988588396,
27
+ "recall": 0.9191196548522745,
28
+ "f1-score": 0.9256712904396801,
29
+ "support": 91555
30
+ }
31
+ },
32
+ "pred_time_sec": 180.53782844543457,
33
+ "seed": 42
34
+ }
test_metrics_first.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "precision": 0.9310599464350663,
3
+ "recall": 0.9226803560701218,
4
+ "f1": 0.9268512118319564,
5
+ "classification_report": {
6
+ "_": {
7
+ "precision": 0.9310599464350663,
8
+ "recall": 0.9226803560701218,
9
+ "f1-score": 0.9268512118319564,
10
+ "support": 91555
11
+ },
12
+ "micro avg": {
13
+ "precision": 0.9310599464350663,
14
+ "recall": 0.9226803560701218,
15
+ "f1-score": 0.9268512118319564,
16
+ "support": 91555
17
+ },
18
+ "macro avg": {
19
+ "precision": 0.9310599464350663,
20
+ "recall": 0.9226803560701218,
21
+ "f1-score": 0.9268512118319564,
22
+ "support": 91555
23
+ },
24
+ "weighted avg": {
25
+ "precision": 0.9310599464350662,
26
+ "recall": 0.9226803560701218,
27
+ "f1-score": 0.9268512118319565,
28
+ "support": 91555
29
+ }
30
+ },
31
+ "pred_time_sec": 173.10948252677917
32
+ }
test_predictions.tsv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8659a9c6c5d3629da8b5ac79cb7cb6801e8930964fc1d80b281d6380dfeb9424
3
+ size 22966921
train_metrics.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "train_runtime": 4122.4685,
3
+ "train_samples_per_second": 43.258,
4
+ "train_steps_per_second": 2.705,
5
+ "total_flos": 4.659747190981632e+16,
6
+ "train_loss": 0.01937991304782474,
7
+ "epoch": 5.0,
8
+ "train_time_sec": 4123.80143737793,
9
+ "seed": 42
10
+ }
train_metrics_first.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "train_runtime": 1643.2986,
3
+ "train_samples_per_second": 43.408,
4
+ "train_steps_per_second": 2.714,
5
+ "total_flos": 1.863898876392653e+16,
6
+ "train_loss": 0.03703516288723112,
7
+ "epoch": 2.0,
8
+ "train_time_sec": 1644.5519206523895
9
+ }