muratti18462 commited on
Commit
67f2037
·
verified ·
1 Parent(s): 9097801

End of training

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: alvaroalon2/biobert_chemical_ner
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: murat_chem_model_extra_data_3epochlr5e8
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # murat_chem_model_extra_data_3epochlr5e8
16
+
17
+ This model is a fine-tuned version of [alvaroalon2/biobert_chemical_ner](https://huggingface.co/alvaroalon2/biobert_chemical_ner) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0524
20
+ - Chemical: {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966}
21
+ - Micro avg: {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966}
22
+ - Macro avg: {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966}
23
+ - Weighted avg: {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966}
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-08
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 32
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 3
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Chemical | Micro avg | Macro avg | Weighted avg |
57
+ |:-------------:|:-----:|:-----:|:---------------:|:---------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------------:|
58
+ | 0.1661 | 1.0 | 16198 | 0.0916 | {'precision': 0.757026291931097, 'recall': 0.8643892339544513, 'f1-score': 0.8071532141130981, 'support': 966} | {'precision': 0.757026291931097, 'recall': 0.8643892339544513, 'f1-score': 0.8071532141130981, 'support': 966} | {'precision': 0.757026291931097, 'recall': 0.8643892339544513, 'f1-score': 0.8071532141130981, 'support': 966} | {'precision': 0.757026291931097, 'recall': 0.8643892339544513, 'f1-score': 0.8071532141130981, 'support': 966} |
59
+ | 0.0663 | 2.0 | 32396 | 0.0570 | {'precision': 0.7653846153846153, 'recall': 0.8240165631469979, 'f1-score': 0.7936191425722832, 'support': 966} | {'precision': 0.7653846153846153, 'recall': 0.8240165631469979, 'f1-score': 0.7936191425722832, 'support': 966} | {'precision': 0.7653846153846153, 'recall': 0.8240165631469979, 'f1-score': 0.7936191425722832, 'support': 966} | {'precision': 0.7653846153846153, 'recall': 0.8240165631469979, 'f1-score': 0.7936191425722832, 'support': 966} |
60
+ | 0.0564 | 3.0 | 48594 | 0.0524 | {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966} | {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966} | {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966} | {'precision': 0.7696030977734754, 'recall': 0.8229813664596274, 'f1-score': 0.7953976988494248, 'support': 966} |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.44.2
66
+ - Pytorch 2.3.0+cu121
67
+ - Datasets 2.21.0
68
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "alvaroalon2/biobert_chemical_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-CHEMICAL",
15
+ "1": "I-CHEMICAL",
16
+ "2": "O"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "B-CHEMICAL": 0,
22
+ "I-CHEMICAL": 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.44.2",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 28996
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbe214958e421afdb59cbb7c3d25d16e713d58ec55a39e146f720a8f9e04d8b9
3
+ size 430911284
runs/Feb24_18-28-44_ip-10-3-48-151.eu-central-1.compute.internal/events.out.tfevents.1740421773.ip-10-3-48-151.eu-central-1.compute.internal ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44e77ac13bb62f146ad2db9a9af9d9afc34d96c22d5708966609139f5d6426e6
3
+ size 5563
runs/Feb24_21-53-25_ip-10-3-48-151.eu-central-1.compute.internal/events.out.tfevents.1740434053.ip-10-3-48-151.eu-central-1.compute.internal ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4958551079f5b8ee4ee9f4c991db30da22d863cc7f8c2c521295b47b0eb6ce7f
3
+ size 7391
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
+ "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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e531cb213d02f22f9e3f1f0328933ef0fd8b9578713d0ba5de4603f60a712a2
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff