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: my_awesome_billsum_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.6895
|
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 |
+
# my_awesome_billsum_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: 1.1625
|
35 |
+
- Rouge1: 0.6895
|
36 |
+
- Rouge2: 0.6293
|
37 |
+
- Rougel: 0.68
|
38 |
+
- Rougelsum: 0.6806
|
39 |
+
- Gen Len: 18.9435
|
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 | 1.6092 | 0.4863 | 0.3176 | 0.4329 | 0.4324 | 18.6411 |
|
72 |
+
| No log | 2.0 | 124 | 1.3017 | 0.3808 | 0.2673 | 0.3329 | 0.3336 | 18.9274 |
|
73 |
+
| No log | 3.0 | 186 | 1.1907 | 0.6411 | 0.5725 | 0.6234 | 0.6247 | 18.9637 |
|
74 |
+
| No log | 4.0 | 248 | 1.1625 | 0.6895 | 0.6293 | 0.68 | 0.6806 | 18.9435 |
|
75 |
+
|
76 |
+
|
77 |
+
### Framework versions
|
78 |
+
|
79 |
+
- Transformers 4.26.1
|
80 |
+
- Pytorch 1.13.1+cu116
|
81 |
+
- Datasets 2.9.0
|
82 |
+
- Tokenizers 0.13.2
|