File size: 3,323 Bytes
f255455
 
 
 
 
 
 
 
 
2061c3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b101b20
 
 
 
 
 
2061c3a
 
 
 
 
 
 
 
 
f255455
 
 
 
 
 
 
e078e53
f255455
45b40aa
 
 
 
 
 
f255455
fafd932
f255455
 
 
 
 
 
 
 
 
fafd932
f255455
 
 
 
 
 
 
 
 
 
 
 
b9ea224
f255455
 
 
 
 
 
45b40aa
 
 
 
 
 
 
 
f255455
 
 
 
 
 
 
b101b20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
license: mit
base_model: facebook/bart-large-cnn
tags:
- generated_from_trainer
metrics:
- rouge
model-index:
- name: PTS-Bart-Large-CNN
  results:
  - task:
      type: summarization
      name: Summarization
    dataset:
      name: PTS Dataset
      type: PTS-Dataset
    metrics:
    - name: Rouge1
      type: rouge
      value: 0.6551
    - name: Rouge2
      type: rouge
      value: 0.4332
    - name: Rougel
      type: rouge
      value: 0.5543
    - name: Rougelsum
      type: rouge
      value: 0.5541
datasets:
- ahmedmbutt/PTS-Dataset
language:
- en
library_name: transformers
pipeline_tag: summarization
widget:
- text: >-
    I have to say that I do miss talking to a good psychiatrist- however. I
    could sit and argue for ages with a psychiatrist who is intelligent and kind
    (quite hard to find- but they do exist). Especially now that I have a PhD in
    philosophy and have read everything that can be found on madness- including
    the notes they wrote about me when I was in the hospital. Nowadays-
    psychiatrists have a tendency to sign me off pretty quickly when I come onto
    their radar. They don’t wish to deal with me- I tire them out.
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# PTS-Bart-Large-CNN

This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on the PTS dataset.
It achieves the following results on the evaluation set:
- Loss: 1.1760
- Rouge1: 0.6551
- Rouge2: 0.4332
- Rougel: 0.5543
- Rougelsum: 0.5541
- Gen Len: 80.0886

<!-- ## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed -->

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 8
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
| No log        | 1.0   | 220  | 0.8239          | 0.6263 | 0.3973 | 0.5238 | 0.5237    | 84.2023 |
| No log        | 2.0   | 440  | 0.8201          | 0.6461 | 0.4184 | 0.5417 | 0.5416    | 81.1659 |
| 0.7121        | 3.0   | 660  | 0.8661          | 0.6479 | 0.4226 | 0.5448 | 0.5454    | 80.5409 |
| 0.7121        | 4.0   | 880  | 0.9784          | 0.6474 | 0.4242 | 0.5424 | 0.5425    | 82.2932 |
| 0.2619        | 5.0   | 1100 | 1.0645          | 0.655  | 0.4327 | 0.5517 | 0.5517    | 80.8386 |
| 0.2619        | 6.0   | 1320 | 1.1098          | 0.6548 | 0.4339 | 0.5542 | 0.5543    | 81.3545 |
| 0.1124        | 7.0   | 1540 | 1.1528          | 0.6528 | 0.4298 | 0.5511 | 0.551     | 80.5705 |
| 0.1124        | 8.0   | 1760 | 1.1760          | 0.6551 | 0.4332 | 0.5543 | 0.5541    | 80.0886 |


### Framework versions

- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1