lorenzoscottb commited on
Commit
c57bcaa
·
verified ·
1 Parent(s): f6b1809

lorenzoscottb/PreDA-t5-base

Browse files
Files changed (4) hide show
  1. README.md +86 -0
  2. generation_config.json +6 -0
  3. model.safetensors +1 -1
  4. tokenizer.json +2 -11
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-t5/t5-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - rouge
9
+ model-index:
10
+ - name: PreDA_t5-base
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # PreDA_t5-base
18
+
19
+ This model is a fine-tuned version of [google-t5/t5-base](https://huggingface.co/google-t5/t5-base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.4362
22
+ - Rouge1: 0.7866
23
+ - Rouge2: 0.6744
24
+ - Rougel: 0.7633
25
+ - Rougelsum: 0.7631
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 0.001
45
+ - train_batch_size: 32
46
+ - eval_batch_size: 32
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_steps: 10
51
+ - num_epochs: 20
52
+ - mixed_precision_training: Native AMP
53
+ - label_smoothing_factor: 0.1
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
58
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
59
+ | 1.9319 | 1.0 | 135 | 1.8550 | 0.5264 | 0.3732 | 0.5090 | 0.5092 |
60
+ | 1.8158 | 2.0 | 270 | 1.7623 | 0.6482 | 0.5020 | 0.6238 | 0.6242 |
61
+ | 1.7508 | 3.0 | 405 | 1.7072 | 0.7429 | 0.6136 | 0.7142 | 0.7141 |
62
+ | 1.6998 | 4.0 | 540 | 1.6532 | 0.7753 | 0.6726 | 0.7517 | 0.7518 |
63
+ | 2.6261 | 5.0 | 675 | 2.7877 | 0.6512 | 0.5178 | 0.6319 | 0.6327 |
64
+ | 2.6021 | 6.0 | 810 | 2.4693 | 0.7583 | 0.6397 | 0.7384 | 0.7383 |
65
+ | 2.4839 | 7.0 | 945 | 2.3952 | 0.7914 | 0.6872 | 0.7684 | 0.7682 |
66
+ | 2.4471 | 8.0 | 1080 | 2.3693 | 0.7851 | 0.6768 | 0.7622 | 0.7621 |
67
+ | 2.4298 | 9.0 | 1215 | 2.3654 | 0.7881 | 0.6811 | 0.7649 | 0.7647 |
68
+ | 2.3975 | 10.0 | 1350 | 2.4163 | 0.7884 | 0.6785 | 0.7662 | 0.7660 |
69
+ | 2.4715 | 11.0 | 1485 | 2.4415 | 0.7861 | 0.6745 | 0.7629 | 0.7628 |
70
+ | 2.4541 | 12.0 | 1620 | 2.4401 | 0.7851 | 0.6730 | 0.7621 | 0.7620 |
71
+ | 2.4057 | 13.0 | 1755 | 2.4395 | 0.7856 | 0.6735 | 0.7621 | 0.7619 |
72
+ | 2.4491 | 14.0 | 1890 | 2.4387 | 0.7863 | 0.6739 | 0.7627 | 0.7624 |
73
+ | 2.4713 | 15.0 | 2025 | 2.4379 | 0.7870 | 0.6755 | 0.7635 | 0.7634 |
74
+ | 2.4635 | 16.0 | 2160 | 2.4375 | 0.7865 | 0.6742 | 0.7630 | 0.7628 |
75
+ | 2.4693 | 17.0 | 2295 | 2.4364 | 0.7869 | 0.6749 | 0.7630 | 0.7627 |
76
+ | 2.2091 | 18.0 | 2430 | 2.4366 | 0.7859 | 0.6743 | 0.7629 | 0.7626 |
77
+ | 2.4518 | 19.0 | 2565 | 2.4362 | 0.7866 | 0.6753 | 0.7635 | 0.7635 |
78
+ | 2.4663 | 20.0 | 2700 | 2.4362 | 0.7866 | 0.6744 | 0.7633 | 0.7631 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.44.2
84
+ - Pytorch 2.1.0+cu118
85
+ - Datasets 3.0.1
86
+ - Tokenizers 0.19.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.44.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2761b9f8f03fbcc54d5214530d822a5722672353ac306720bd1eb43fd2f882d5
3
  size 891644712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ffd25794ff497c2f9a8d26dc3f444977ce74d54a201d30f8fc53f610b8acfe6
3
  size 891644712
tokenizer.json CHANGED
@@ -2,20 +2,11 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 128,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
- "padding": {
10
- "strategy": {
11
- "Fixed": 128
12
- },
13
- "direction": "Right",
14
- "pad_to_multiple_of": null,
15
- "pad_id": 0,
16
- "pad_type_id": 0,
17
- "pad_token": "<pad>"
18
- },
19
  "added_tokens": [
20
  {
21
  "id": 0,
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 512,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
+ "padding": null,
 
 
 
 
 
 
 
 
 
10
  "added_tokens": [
11
  {
12
  "id": 0,