ruchita1010
commited on
Commit
•
739e122
1
Parent(s):
2df2893
End of training
Browse files- README.md +88 -0
- generation_config.json +7 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: allenai/led-base-16384
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- billsum
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: LED_billsum_model
|
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.1447
|
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 |
+
# LED_billsum_model
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [allenai/led-base-16384](https://huggingface.co/allenai/led-base-16384) on the billsum dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.6576
|
36 |
+
- Rouge1: 0.1447
|
37 |
+
- Rouge2: 0.0854
|
38 |
+
- Rougel: 0.1292
|
39 |
+
- Rougelsum: 0.1339
|
40 |
+
- Gen Len: 20.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: 2e-05
|
60 |
+
- train_batch_size: 3
|
61 |
+
- eval_batch_size: 3
|
62 |
+
- seed: 42
|
63 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
64 |
+
- lr_scheduler_type: linear
|
65 |
+
- num_epochs: 10
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
71 |
+
| 1.4849 | 1.0 | 330 | 1.6511 | 0.1463 | 0.0827 | 0.1276 | 0.1337 | 20.0 |
|
72 |
+
| 1.3361 | 2.0 | 660 | 1.6056 | 0.148 | 0.0799 | 0.1268 | 0.1336 | 20.0 |
|
73 |
+
| 1.1727 | 3.0 | 990 | 1.5833 | 0.1459 | 0.0827 | 0.1289 | 0.1341 | 20.0 |
|
74 |
+
| 1.0601 | 4.0 | 1320 | 1.5987 | 0.1462 | 0.0859 | 0.1299 | 0.1344 | 20.0 |
|
75 |
+
| 0.9789 | 5.0 | 1650 | 1.6030 | 0.1414 | 0.0794 | 0.125 | 0.1302 | 20.0 |
|
76 |
+
| 0.8724 | 6.0 | 1980 | 1.6060 | 0.1476 | 0.0868 | 0.1298 | 0.1356 | 20.0 |
|
77 |
+
| 0.7994 | 7.0 | 2310 | 1.6295 | 0.1348 | 0.0758 | 0.1198 | 0.1253 | 20.0 |
|
78 |
+
| 0.7762 | 8.0 | 2640 | 1.6317 | 0.1422 | 0.0831 | 0.1261 | 0.1312 | 20.0 |
|
79 |
+
| 0.7087 | 9.0 | 2970 | 1.6501 | 0.1421 | 0.0825 | 0.1264 | 0.1311 | 20.0 |
|
80 |
+
| 0.7014 | 10.0 | 3300 | 1.6576 | 0.1447 | 0.0854 | 0.1292 | 0.1339 | 20.0 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.34.1
|
86 |
+
- Pytorch 2.1.0+cu118
|
87 |
+
- Datasets 2.14.6
|
88 |
+
- Tokenizers 0.14.1
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 1,
|
6 |
+
"transformers_version": "4.34.1"
|
7 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 647681258
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2e4297a1de866f650e4f2329f4ceb75f703d3452b6c4ab99a94ba92ccc202b8
|
3 |
size 647681258
|