Training complete
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/pegasus-large
|
3 |
+
tags:
|
4 |
+
- summarization
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- scientific_papers
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: pegasus-large-finetuned-scientific-articles
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Sequence-to-sequence Language Modeling
|
15 |
+
type: text2text-generation
|
16 |
+
dataset:
|
17 |
+
name: scientific_papers
|
18 |
+
type: scientific_papers
|
19 |
+
config: pubmed
|
20 |
+
split: train
|
21 |
+
args: pubmed
|
22 |
+
metrics:
|
23 |
+
- name: Rouge1
|
24 |
+
type: rouge
|
25 |
+
value: 32.8743
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# pegasus-large-finetuned-scientific-articles
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [google/pegasus-large](https://huggingface.co/google/pegasus-large) on the scientific_papers dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.4553
|
36 |
+
- Rouge1: 32.8743
|
37 |
+
- Rouge2: 10.8417
|
38 |
+
- Rougel: 20.3101
|
39 |
+
- Rougelsum: 28.3673
|
40 |
+
|
41 |
+
## Model description
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Intended uses & limitations
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training and evaluation data
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Training procedure
|
54 |
+
|
55 |
+
### Training hyperparameters
|
56 |
+
|
57 |
+
The following hyperparameters were used during training:
|
58 |
+
- learning_rate: 5.6e-05
|
59 |
+
- train_batch_size: 2
|
60 |
+
- eval_batch_size: 2
|
61 |
+
- seed: 42
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_steps: 500
|
65 |
+
- num_epochs: 3
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|
|
71 |
+
| 3.0377 | 1.0 | 252 | 2.5409 | 30.5637 | 9.5168 | 18.2596 | 26.2196 |
|
72 |
+
| 2.6145 | 2.0 | 504 | 2.4722 | 31.5518 | 9.9698 | 19.9187 | 26.695 |
|
73 |
+
| 2.4322 | 3.0 | 756 | 2.4553 | 32.8743 | 10.8417 | 20.3101 | 28.3673 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.41.2
|
79 |
+
- Pytorch 2.3.0+cu121
|
80 |
+
- Datasets 2.19.2
|
81 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"forced_eos_token_id": 1,
|
6 |
+
"length_penalty": 0.8,
|
7 |
+
"max_length": 256,
|
8 |
+
"num_beams": 8,
|
9 |
+
"pad_token_id": 0,
|
10 |
+
"transformers_version": "4.41.2"
|
11 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2283652852
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f5f6882e9b19beea4679458d61eec1a2bd12e861a63efb994668f70ac7f4ecc
|
3 |
size 2283652852
|
runs/Jun07_17-00-57_b2d283f455a0/events.out.tfevents.1717779663.b2d283f455a0.316.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54ffaa21c44bff0a9f7ffd7006b61c4d1d60b3b4d4c6f867ebc398f35b03d46a
|
3 |
+
size 9898
|
runs/Jun07_17-00-57_b2d283f455a0/events.out.tfevents.1717783363.b2d283f455a0.316.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f62c315146e4cc7e47c27f8396d5ef4b965bb58271ce8f78e3d352dca081bec
|
3 |
+
size 562
|