lukasdrg commited on
Commit
d419245
1 Parent(s): 7037619

End of training

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: allenai/longformer-base-4096
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: clinical_longformer_new_tokens_v2
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
+ # clinical_longformer_new_tokens_v2
15
+
16
+ This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 4.8474
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 2e-05
38
+ - train_batch_size: 2
39
+ - eval_batch_size: 16
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 64
42
+ - total_train_batch_size: 128
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 1500
46
+ - num_epochs: 20
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | 2.5192 | 1.42 | 2 | 4.9585 |
53
+ | 2.6002 | 2.84 | 4 | 4.5364 |
54
+ | 2.0541 | 4.0 | 6 | 5.1700 |
55
+ | 1.8191 | 5.0 | 8 | 4.7585 |
56
+ | 1.8123 | 6.0 | 10 | 4.3768 |
57
+ | 2.0364 | 7.11 | 12 | 4.8248 |
58
+ | 2.4587 | 8.53 | 14 | 4.9780 |
59
+ | 2.4665 | 9.96 | 16 | 4.2456 |
60
+ | 1.7881 | 11.0 | 18 | 4.1161 |
61
+ | 1.7651 | 12.0 | 20 | 4.8474 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.35.0
67
+ - Pytorch 2.1.0+cu118
68
+ - Datasets 2.14.6
69
+ - Tokenizers 0.14.1
added_tokens.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/longformer-base-4096",
3
+ "architectures": [
4
+ "LongformerForMaskedLM"
5
+ ],
6
+ "attention_mode": "longformer",
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "attention_window": [
9
+ 512,
10
+ 512,
11
+ 512,
12
+ 512,
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512,
20
+ 512
21
+ ],
22
+ "bos_token_id": 0,
23
+ "eos_token_id": 2,
24
+ "gradient_checkpointing": false,
25
+ "hidden_act": "gelu",
26
+ "hidden_dropout_prob": 0.1,
27
+ "hidden_size": 768,
28
+ "ignore_attention_mask": false,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "layer_norm_eps": 1e-05,
32
+ "max_position_embeddings": 4098,
33
+ "model_type": "longformer",
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 12,
36
+ "onnx_export": false,
37
+ "pad_token_id": 1,
38
+ "sep_token_id": 2,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.35.0",
41
+ "type_vocab_size": 1,
42
+ "vocab_size": 60474
43
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75f9ad4ac1b9c325a341f563acf19694af6179a749f83e15a7fd255686a0e164
3
+ size 626282192
runs/Nov03_17-35-34_ec4c1cbe8b31/events.out.tfevents.1699032939.ec4c1cbe8b31.220.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:996bbc5e2add5ea6c8e8ea1d2362e5517fe1219e32ecd7cbe21a163d58539b4c
3
+ size 9052
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a7caddc34c50219bd438652fb107528650599595d8b309555826a7767b48600
3
+ size 4600
vocab.json ADDED
The diff for this file is too large to render. See raw diff