AdamCodd commited on
Commit
d3bf8b2
1 Parent(s): ac6b40d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - samsum
7
+ metrics:
8
+ - rouge
9
+ model-index:
10
+ - name: bart-large-cnn-samsum
11
+ results:
12
+ - task:
13
+ type: summarization
14
+ name: Summarization
15
+ dataset:
16
+ name: 'SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarization'
17
+ type: samsum
18
+ metrics:
19
+ - type: rogue-1
20
+ value: 43.6283
21
+ name: Validation ROGUE-1
22
+ - type: rogue-2
23
+ value: 19.3096
24
+ name: Validation ROGUE-2
25
+ - type: rogue-l
26
+ value: 41.2140
27
+ name: Validation ROGUE-L
28
+ ---
29
+
30
+ # bart-large-cnn-samsum
31
+
32
+ This model is a fine-tuned version of [philschmid/bart-large-cnn-samsum](https://huggingface.co/facebook/bart-large-cnn) on the samsum dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.755
35
+ - Rouge1: 43.6283
36
+ - Rouge2: 19.3096
37
+ - Rougel: 41.2140
38
+ - Rougelsum: 37.2590
39
+
40
+ ## Model description
41
+
42
+ More information needed
43
+
44
+ ## Intended uses & limitations
45
+
46
+ ```python
47
+ from transformers import pipeline
48
+ summarizer = pipeline("summarization", model="AdamCodd/bart-large-cnn-samsum")
49
+
50
+ conversation = '''Sugi: I am tired of everything in my life.
51
+ Tommy: What? How happy your life is! I do envy you.
52
+ Sugi: You don't know that I have been overprotected by my mother these years. I am really about to leave the family and spread my wings.
53
+ Tommy: Maybe you are right.
54
+ '''
55
+ summarizer(conversation)
56
+ ```
57
+
58
+ ## Training and evaluation data
59
+
60
+ More information needed
61
+
62
+ ## Training procedure
63
+
64
+ ### Training hyperparameters
65
+
66
+ The following hyperparameters were used during training:
67
+ - learning_rate: 3e-05
68
+ - train_batch_size: 4
69
+ - eval_batch_size: 4
70
+ - seed: 1270
71
+ - optimizer: AdamW with betas=(0.9,0.999) and epsilon=1e-08
72
+ - lr_scheduler_type: linear
73
+ - lr_scheduler_warmup_steps: 150
74
+ - num_epochs: 1
75
+
76
+ ### Training results
77
+
78
+ | key | value |
79
+ | --- | ----- |
80
+ | eval_rouge1 | 43.6283 |
81
+ | eval_rouge2 | 19.3096 |
82
+ | eval_rougeL | 41.2140 |
83
+ | eval_rougeLsum | 37.2590 |
84
+
85
+ ### Framework versions
86
+
87
+ - Transformers 4.33.2
88
+ - Pytorch lightning 2.0.9
89
+ - Tokenizers 0.13.3