etav22 commited on
Commit
ff2b25b
1 Parent(s): 31cef5c

training completed: 256 128

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - rouge
6
+ model-index:
7
+ - name: pegasus-legalease
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # pegasus-legalease
15
+
16
+ This model was trained from scratch on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 4.2373
19
+ - Rouge1: 0.4847
20
+ - Rouge2: 0.3225
21
+ - Rougel: 0.4194
22
+ - Rougelsum: 0.4177
23
+ - Gen Len: 43.02
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 5
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
54
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
55
+ | 5.2738 | 1.0 | 125 | 4.6004 | 0.4363 | 0.2769 | 0.375 | 0.3743 | 37.24 |
56
+ | 4.8164 | 2.0 | 250 | 4.4350 | 0.464 | 0.3085 | 0.405 | 0.4038 | 40.3 |
57
+ | 4.8494 | 3.0 | 375 | 4.3372 | 0.473 | 0.3153 | 0.412 | 0.41 | 41.2 |
58
+ | 4.6062 | 4.0 | 500 | 4.2669 | 0.4791 | 0.3196 | 0.4159 | 0.4141 | 43.03 |
59
+ | 4.5682 | 5.0 | 625 | 4.2373 | 0.4847 | 0.3225 | 0.4194 | 0.4177 | 43.02 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.38.1
65
+ - Pytorch 2.1.0+cu121
66
+ - Datasets 2.18.0
67
+ - Tokenizers 0.15.2
all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "test_gen_len": 43.04,
3
+ "test_loss": 4.467371940612793,
4
+ "test_rouge1": 0.5024,
5
+ "test_rouge2": 0.3305,
6
+ "test_rougeL": 0.4305,
7
+ "test_rougeLsum": 0.4313,
8
+ "test_runtime": 29.5899,
9
+ "test_samples_per_second": 1.69,
10
+ "test_steps_per_second": 0.237
11
+ }
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.6,
7
+ "max_length": 64,
8
+ "num_beams": 8,
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.38.1"
11
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2dd165bef58417daab01777c2d4ba1568548dd76349a87802f26053a3c8ca0b3
3
  size 2279458540
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc9bc2483efd83c76cc6e28d15e244429b745f6a7d1de702064013a75e10849c
3
  size 2279458540
runs/Mar05_15-07-27_8b73555077d4/events.out.tfevents.1709651249.8b73555077d4.537.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:858ee452e7e76b76242532ad2016fe6452c9c7095d325f3837898b645519fdee
3
- size 9764
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5850d9cdcf393732598bbd6d2f28c72606434f5e671d101ef29d186ce4b8f631
3
+ size 11065
test_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "test_gen_len": 43.04,
3
+ "test_loss": 4.467371940612793,
4
+ "test_rouge1": 0.5024,
5
+ "test_rouge2": 0.3305,
6
+ "test_rougeL": 0.4305,
7
+ "test_rougeLsum": 0.4313,
8
+ "test_runtime": 29.5899,
9
+ "test_samples_per_second": 1.69,
10
+ "test_steps_per_second": 0.237
11
+ }