bartoszmaj
commited on
Commit
•
1c3015d
1
Parent(s):
71be8a2
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: t5-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- billsum
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: t5_billsum_finetune
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Sequence-to-sequence Language Modeling
|
15 |
+
type: text2text-generation
|
16 |
+
dataset:
|
17 |
+
name: billsum
|
18 |
+
type: billsum
|
19 |
+
config: default
|
20 |
+
split: ca_test
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Rouge1
|
24 |
+
type: rouge
|
25 |
+
value: 0.1926
|
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 |
+
# t5_billsum_finetune
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the billsum dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.0955
|
36 |
+
- Rouge1: 0.1926
|
37 |
+
- Rouge2: 0.0931
|
38 |
+
- Rougel: 0.163
|
39 |
+
- Rougelsum: 0.1635
|
40 |
+
- Gen Len: 19.0
|
41 |
+
|
42 |
+
## Model description
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Intended uses & limitations
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training and evaluation data
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training procedure
|
55 |
+
|
56 |
+
### Training hyperparameters
|
57 |
+
|
58 |
+
The following hyperparameters were used during training:
|
59 |
+
- learning_rate: 1e-05
|
60 |
+
- train_batch_size: 4
|
61 |
+
- eval_batch_size: 4
|
62 |
+
- seed: 42
|
63 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
64 |
+
- lr_scheduler_type: linear
|
65 |
+
- num_epochs: 4
|
66 |
+
- mixed_precision_training: Native AMP
|
67 |
+
|
68 |
+
### Training results
|
69 |
+
|
70 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
71 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
72 |
+
| No log | 1.0 | 248 | 2.1016 | 0.1917 | 0.0928 | 0.1624 | 0.1628 | 19.0 |
|
73 |
+
| No log | 2.0 | 496 | 2.0985 | 0.1931 | 0.0936 | 0.1635 | 0.1639 | 19.0 |
|
74 |
+
| 1.9507 | 3.0 | 744 | 2.0981 | 0.1926 | 0.0938 | 0.1633 | 0.1637 | 19.0 |
|
75 |
+
| 1.9507 | 4.0 | 992 | 2.0955 | 0.1926 | 0.0931 | 0.163 | 0.1635 | 19.0 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- Transformers 4.35.0
|
81 |
+
- Pytorch 2.1.0+cu118
|
82 |
+
- Datasets 2.14.6
|
83 |
+
- Tokenizers 0.14.1
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.35.0"
|
6 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 242041896
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3df68245eff622e05dd7cacc916c137ee2bcf874bbf7caee79b062732faf08be
|
3 |
size 242041896
|
runs/Nov06_13-04-10_8c9f6b8ee132/events.out.tfevents.1699275851.8c9f6b8ee132.1112.4
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:2da87656a48b28d90061e76a070e2b2245784f82a9b090bdcd7a89297b60f8ae
|
3 |
+
size 7838
|