PFcoding commited on
Commit
0579424
1 Parent(s): 29dddc8

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - pubmed-summarization
7
+ model-index:
8
+ - name: medicare-gpt2-large
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
+ # medicare-gpt2-large
16
+
17
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the pubmed-summarization dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 2.6383
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0005
39
+ - train_batch_size: 32
40
+ - eval_batch_size: 32
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 256
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_steps: 1000
47
+ - num_epochs: 1
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | 5.9036 | 0.08 | 500 | 4.2296 |
55
+ | 3.7554 | 0.16 | 1000 | 3.3542 |
56
+ | 3.2457 | 0.23 | 1500 | 3.0897 |
57
+ | 3.065 | 0.31 | 2000 | 2.9694 |
58
+ | 2.966 | 0.39 | 2500 | 2.8919 |
59
+ | 2.8912 | 0.47 | 3000 | 2.8305 |
60
+ | 2.8345 | 0.55 | 3500 | 2.7817 |
61
+ | 2.7818 | 0.62 | 4000 | 2.7378 |
62
+ | 2.7391 | 0.7 | 4500 | 2.7001 |
63
+ | 2.7052 | 0.78 | 5000 | 2.6689 |
64
+ | 2.6769 | 0.86 | 5500 | 2.6486 |
65
+ | 2.6599 | 0.94 | 6000 | 2.6383 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.28.0
71
+ - Pytorch 2.0.1+cu118
72
+ - Datasets 2.12.0
73
+ - Tokenizers 0.13.3