Mwnthai commited on
Commit
edeaee6
·
verified ·
1 Parent(s): 2035cb6

pegasus_model_bodo

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. generation_config.json +13 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: nsi319/legal-pegasus
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: newBodoPegasus
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # newBodoPegasus
16
+
17
+ This model is a fine-tuned version of [nsi319/legal-pegasus](https://huggingface.co/nsi319/legal-pegasus) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.4936
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 2
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 16
44
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 500
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:------:|:----:|:---------------:|
53
+ | 2.1367 | 1.0 | 313 | 2.2045 |
54
+ | 2.0544 | 2.0 | 626 | 2.0214 |
55
+ | 1.9343 | 3.0 | 939 | 1.9373 |
56
+ | 1.8886 | 4.0 | 1252 | 1.8889 |
57
+ | 1.9083 | 5.0 | 1565 | 1.8336 |
58
+ | 1.7978 | 6.0 | 1878 | 1.7782 |
59
+ | 1.8034 | 7.0 | 2191 | 1.7187 |
60
+ | 1.7245 | 8.0 | 2504 | 1.6301 |
61
+ | 1.6458 | 9.0 | 2817 | 1.5478 |
62
+ | 1.6034 | 9.9704 | 3120 | 1.4936 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.49.0
68
+ - Pytorch 2.6.0+cu124
69
+ - Datasets 2.21.0
70
+ - Tokenizers 0.21.0
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 0,
5
+ "eos_token_id": 1,
6
+ "forced_eos_token_id": 1,
7
+ "length_penalty": 0.8,
8
+ "max_length": 128,
9
+ "min_length": 32,
10
+ "num_beams": 8,
11
+ "pad_token_id": 0,
12
+ "transformers_version": "4.49.0"
13
+ }