muratti18462 commited on
Commit
9112679
·
verified ·
1 Parent(s): 916cadf

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
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
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.0089
20
+ - Chemical: {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969}
21
+ - Micro avg: {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969}
22
+ - Macro avg: {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969}
23
+ - Weighted avg: {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969}
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-05
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.0265 | 1.0000 | 16214 | 0.0121 | {'precision': 0.933605720122574, 'recall': 0.9432404540763674, 'f1-score': 0.9383983572895276, 'support': 969} | {'precision': 0.933605720122574, 'recall': 0.9432404540763674, 'f1-score': 0.9383983572895276, 'support': 969} | {'precision': 0.933605720122574, 'recall': 0.9432404540763674, 'f1-score': 0.9383983572895276, 'support': 969} | {'precision': 0.933605720122574, 'recall': 0.9432404540763674, 'f1-score': 0.9383983572895277, 'support': 969} |
59
+ | 0.009 | 2.0 | 32429 | 0.0090 | {'precision': 0.9571865443425076, 'recall': 0.9690402476780186, 'f1-score': 0.963076923076923, 'support': 969} | {'precision': 0.9571865443425076, 'recall': 0.9690402476780186, 'f1-score': 0.963076923076923, 'support': 969} | {'precision': 0.9571865443425076, 'recall': 0.9690402476780186, 'f1-score': 0.963076923076923, 'support': 969} | {'precision': 0.9571865443425076, 'recall': 0.9690402476780186, 'f1-score': 0.963076923076923, 'support': 969} |
60
+ | 0.0053 | 2.9999 | 48642 | 0.0089 | {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969} | {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969} | {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969} | {'precision': 0.9699792960662525, 'recall': 0.9669762641898865, 'f1-score': 0.9684754521963824, 'support': 969} |
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:5a94d5fa302ba3d4ef2032f9f72c3ad8a2ac581fafac3cf0cf111f5037ce758e
3
+ size 430911284
runs/Feb24_13-10-06_ip-10-3-48-151.eu-central-1.compute.internal/events.out.tfevents.1740402839.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:3b64b31120ae231b7639f24b3535a9ce57601f9a58b7f6986a9e3d33e38c315f
3
+ size 7355
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:bfb4b775a6466f0b829e81a4935f284a6694fe9e6c83522c21abd0f144132d2c
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff