m-aliabbas1 commited on
Commit
d0d9a9c
1 Parent(s): 0d8820f

End of training

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: prajjwal1/bert-tiny
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: med_ner_3
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # med_ner_3
15
+
16
+ This model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.0000
19
+ - Overall Precision: 1.0
20
+ - Overall Recall: 1.0
21
+ - Overall F1: 1.0
22
+ - Overall Accuracy: 1.0
23
+ - Age F1: 1.0
24
+ - Yob F1: 1.0
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 0.0001
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 8
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 250
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy | Age F1 | Yob F1 |
54
+ |:-------------:|:------:|:-----:|:---------------:|:-----------------:|:--------------:|:----------:|:----------------:|:------:|:------:|
55
+ | 0.0581 | 18.18 | 1000 | 0.0015 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
56
+ | 0.0017 | 36.36 | 2000 | 0.0004 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
57
+ | 0.0006 | 54.55 | 3000 | 0.0002 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
58
+ | 0.0005 | 72.73 | 4000 | 0.0001 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
59
+ | 0.0002 | 90.91 | 5000 | 0.0001 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
60
+ | 0.0001 | 109.09 | 6000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
61
+ | 0.0001 | 127.27 | 7000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
62
+ | 0.0001 | 145.45 | 8000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
63
+ | 0.0 | 163.64 | 9000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
64
+ | 0.0001 | 181.82 | 10000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
65
+ | 0.0 | 200.0 | 11000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
66
+ | 0.0 | 218.18 | 12000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
67
+ | 0.0 | 236.36 | 13000 | 0.0000 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.35.2
73
+ - Pytorch 2.1.0+cu118
74
+ - Datasets 2.15.0
75
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "prajjwal1/bert-tiny",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 128,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 512,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2,
23
+ "LABEL_3": 3
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 2,
29
+ "num_hidden_layers": 2,
30
+ "pad_token_id": 0,
31
+ "position_embedding_type": "absolute",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.35.2",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 30522
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6810853584eefff0a1c35d3e4acb79060722e886411aec94ac2b792496f48858
3
+ size 17484112
runs/Nov26_05-09-36_1be8f4811725/events.out.tfevents.1700975386.1be8f4811725.335.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83ec606c1d07ff22dad361dd5e11b6895c144bc1d9174bcc06fb7db017f02b79
3
+ size 14554
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3042fc12bd2872b89e5af4ae3d571d06c1abfd93a6da9416b8abd0779436b4a
3
+ size 4536
vocab.txt ADDED
The diff for this file is too large to render. See raw diff