Zamoranesis commited on
Commit
9d2a9c6
1 Parent(s): 21d49d5

delirium_roberta

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: allenai/biomed_roberta_base
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: delirium_roberta
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # delirium_roberta
14
+
15
+ This model is a fine-tuned version of [allenai/biomed_roberta_base](https://huggingface.co/allenai/biomed_roberta_base) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.3709
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.0005
37
+ - train_batch_size: 32
38
+ - eval_batch_size: 32
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - lr_scheduler_warmup_ratio: 0.1
43
+ - lr_scheduler_warmup_steps: 100
44
+ - training_steps: 4000
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | 1.2088 | 0.4 | 100 | 0.8023 |
51
+ | 0.8075 | 0.8 | 200 | 0.7029 |
52
+ | 0.7404 | 1.2 | 300 | 0.6575 |
53
+ | 0.6826 | 1.6 | 400 | 0.6096 |
54
+ | 0.6578 | 2.0 | 500 | 0.5995 |
55
+ | 0.6525 | 2.4 | 600 | 0.5834 |
56
+ | 0.6223 | 2.8 | 700 | 0.5650 |
57
+ | 0.6 | 3.2 | 800 | 0.5464 |
58
+ | 0.5807 | 3.6 | 900 | 0.5312 |
59
+ | 0.5963 | 4.0 | 1000 | 0.5233 |
60
+ | 0.584 | 4.4 | 1100 | 0.5154 |
61
+ | 0.5508 | 4.8 | 1200 | 0.5049 |
62
+ | 0.5609 | 5.2 | 1300 | 0.4960 |
63
+ | 0.5397 | 5.6 | 1400 | 0.4851 |
64
+ | 0.5401 | 6.0 | 1500 | 0.4805 |
65
+ | 0.513 | 6.4 | 1600 | 0.4690 |
66
+ | 0.5247 | 6.8 | 1700 | 0.4647 |
67
+ | 0.5228 | 7.2 | 1800 | 0.4607 |
68
+ | 0.5142 | 7.6 | 1900 | 0.4534 |
69
+ | 0.5055 | 8.0 | 2000 | 0.4428 |
70
+ | 0.4942 | 8.4 | 2100 | 0.4338 |
71
+ | 0.4895 | 8.8 | 2200 | 0.4336 |
72
+ | 0.4874 | 9.2 | 2300 | 0.4221 |
73
+ | 0.4744 | 9.6 | 2400 | 0.4234 |
74
+ | 0.4743 | 10.0 | 2500 | 0.4139 |
75
+ | 0.4816 | 10.4 | 2600 | 0.4090 |
76
+ | 0.4733 | 10.8 | 2700 | 0.4077 |
77
+ | 0.4419 | 11.2 | 2800 | 0.4035 |
78
+ | 0.4552 | 11.6 | 2900 | 0.3989 |
79
+ | 0.4467 | 12.0 | 3000 | 0.3913 |
80
+ | 0.45 | 12.4 | 3100 | 0.3884 |
81
+ | 0.4551 | 12.8 | 3200 | 0.3864 |
82
+ | 0.4247 | 13.2 | 3300 | 0.3786 |
83
+ | 0.4432 | 13.6 | 3400 | 0.3874 |
84
+ | 0.4086 | 14.0 | 3500 | 0.3776 |
85
+ | 0.4308 | 14.4 | 3600 | 0.3711 |
86
+ | 0.4293 | 14.8 | 3700 | 0.3763 |
87
+ | 0.4235 | 15.2 | 3800 | 0.3733 |
88
+ | 0.4138 | 15.6 | 3900 | 0.3758 |
89
+ | 0.4156 | 16.0 | 4000 | 0.3709 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.34.0
95
+ - Pytorch 2.0.1+cu118
96
+ - Datasets 2.14.5
97
+ - Tokenizers 0.14.1
added_tokens.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s>": 2,
3
+ "<mask>": 50264,
4
+ "<pad>": 1,
5
+ "<s>": 0,
6
+ "<unk>": 3
7
+ }
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/biomed_roberta_base",
3
+ "architectures": [
4
+ "RobertaForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.34.0",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 50265
27
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55ae5907bc0cdcf3f8a17119cc958ff9c235933d758353fd7f6b67d9c57bf28f
3
+ size 498859189
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": "<mask>",
6
+ "pad_token": "<pad>",
7
+ "sep_token": "</s>",
8
+ "unk_token": "<unk>"
9
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "additional_special_tokens": [],
46
+ "bos_token": "<s>",
47
+ "clean_up_tokenization_spaces": true,
48
+ "cls_token": "<s>",
49
+ "eos_token": "</s>",
50
+ "errors": "replace",
51
+ "mask_token": "<mask>",
52
+ "max_len": 512,
53
+ "model_max_length": 512,
54
+ "pad_token": "<pad>",
55
+ "sep_token": "</s>",
56
+ "tokenizer_class": "RobertaTokenizer",
57
+ "trim_offsets": true,
58
+ "unk_token": "<unk>"
59
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35bcd477222f67cddb7aa91ffa2c9663787ceb430eb59c53d996797a10bd2478
3
+ size 4091
vocab.json ADDED
The diff for this file is too large to render. See raw diff