renegarza commited on
Commit
893fd7b
1 Parent(s): e5e94d4

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - rouge
6
+ model-index:
7
+ - name: PegasusMedicalSummary
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
+ # PegasusMedicalSummary
15
+
16
+ This model is a fine-tuned version of [google/pegasus-xsum](https://huggingface.co/google/pegasus-xsum) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.1438
19
+ - Rouge1: 0.4318
20
+ - Rouge2: 0.2525
21
+ - Rougel: 0.3524
22
+ - Rougelsum: 0.3525
23
+ - Gen Len: 55.882
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: 2e-05
43
+ - train_batch_size: 1
44
+ - eval_batch_size: 1
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 4
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 4
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
56
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
57
+ | 6.5172 | 1.0 | 999 | 0.1784 | 0.4161 | 0.2373 | 0.3388 | 0.3384 | 52.102 |
58
+ | 0.3174 | 2.0 | 1999 | 0.1550 | 0.4236 | 0.2434 | 0.343 | 0.3428 | 54.458 |
59
+ | 0.2632 | 3.0 | 2999 | 0.1462 | 0.4269 | 0.2467 | 0.3465 | 0.3464 | 55.503 |
60
+ | 0.2477 | 4.0 | 3996 | 0.1438 | 0.4318 | 0.2525 | 0.3524 | 0.3525 | 55.882 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.28.1
66
+ - Pytorch 2.0.0+cu117
67
+ - Datasets 2.11.0
68
+ - Tokenizers 0.13.3