siddhantgore
commited on
Commit
•
b0e40bf
1
Parent(s):
e9d9a67
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- billsum
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
model-index:
|
10 |
+
- name: txt_summary_model
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Sequence-to-sequence Language Modeling
|
14 |
+
type: text2text-generation
|
15 |
+
dataset:
|
16 |
+
name: billsum
|
17 |
+
type: billsum
|
18 |
+
config: default
|
19 |
+
split: ca_test
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Rouge1
|
23 |
+
type: rouge
|
24 |
+
value: 0.1389
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# txt_summary_model
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the billsum dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 2.5514
|
35 |
+
- Rouge1: 0.1389
|
36 |
+
- Rouge2: 0.0536
|
37 |
+
- Rougel: 0.1181
|
38 |
+
- Rougelsum: 0.1176
|
39 |
+
- Gen Len: 19.0
|
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: 2e-05
|
59 |
+
- train_batch_size: 16
|
60 |
+
- eval_batch_size: 16
|
61 |
+
- seed: 42
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- num_epochs: 4
|
65 |
+
- mixed_precision_training: Native AMP
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
71 |
+
| No log | 1.0 | 62 | 2.8496 | 0.1231 | 0.0345 | 0.1031 | 0.103 | 19.0 |
|
72 |
+
| No log | 2.0 | 124 | 2.6339 | 0.1302 | 0.0452 | 0.1107 | 0.1105 | 19.0 |
|
73 |
+
| No log | 3.0 | 186 | 2.5686 | 0.1373 | 0.0518 | 0.1163 | 0.1158 | 19.0 |
|
74 |
+
| No log | 4.0 | 248 | 2.5514 | 0.1389 | 0.0536 | 0.1181 | 0.1176 | 19.0 |
|
75 |
+
|
76 |
+
|
77 |
+
### Framework versions
|
78 |
+
|
79 |
+
- Transformers 4.29.2
|
80 |
+
- Pytorch 2.0.1+cu118
|
81 |
+
- Datasets 2.12.0
|
82 |
+
- Tokenizers 0.13.3
|