update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- rouge
|
| 7 |
+
model-index:
|
| 8 |
+
- name: grammer_correction
|
| 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 |
+
# grammer_correction
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [t5-base](https://huggingface.co/t5-base) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.5597
|
| 20 |
+
- Rouge1: 72.0915
|
| 21 |
+
- Rouge2: 62.3018
|
| 22 |
+
- Rougel: 71.394
|
| 23 |
+
- Rougelsum: 71.4259
|
| 24 |
+
- Gen Len: 17.2788
|
| 25 |
+
|
| 26 |
+
## Model description
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Intended uses & limitations
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training and evaluation data
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training procedure
|
| 39 |
+
|
| 40 |
+
### Training hyperparameters
|
| 41 |
+
|
| 42 |
+
The following hyperparameters were used during training:
|
| 43 |
+
- learning_rate: 2e-05
|
| 44 |
+
- train_batch_size: 16
|
| 45 |
+
- eval_batch_size: 64
|
| 46 |
+
- seed: 42
|
| 47 |
+
- gradient_accumulation_steps: 6
|
| 48 |
+
- total_train_batch_size: 96
|
| 49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 50 |
+
- lr_scheduler_type: linear
|
| 51 |
+
- num_epochs: 1
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
| 56 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
| 57 |
+
| 0.7668 | 0.1 | 500 | 0.6242 | 71.3363 | 60.9781 | 70.5891 | 70.6201 | 17.3304 |
|
| 58 |
+
| 0.6709 | 0.19 | 1000 | 0.5964 | 71.6241 | 61.4598 | 70.8874 | 70.9203 | 17.3076 |
|
| 59 |
+
| 0.6519 | 0.29 | 1500 | 0.5821 | 71.7998 | 61.7754 | 71.0777 | 71.1094 | 17.2958 |
|
| 60 |
+
| 0.6391 | 0.39 | 2000 | 0.5748 | 71.9032 | 61.9596 | 71.1882 | 71.2215 | 17.2895 |
|
| 61 |
+
| 0.6311 | 0.48 | 2500 | 0.5684 | 71.9839 | 62.09 | 71.2714 | 71.3041 | 17.2805 |
|
| 62 |
+
| 0.6233 | 0.58 | 3000 | 0.5667 | 72.0308 | 62.1784 | 71.3246 | 71.3588 | 17.2816 |
|
| 63 |
+
| 0.6236 | 0.68 | 3500 | 0.5626 | 72.0792 | 62.2549 | 71.3753 | 71.4061 | 17.2703 |
|
| 64 |
+
| 0.6223 | 0.78 | 4000 | 0.5607 | 72.0838 | 62.2734 | 71.38 | 71.4126 | 17.2766 |
|
| 65 |
+
| 0.6157 | 0.87 | 4500 | 0.5603 | 72.0975 | 62.2993 | 71.3977 | 71.4284 | 17.2772 |
|
| 66 |
+
| 0.6167 | 0.97 | 5000 | 0.5597 | 72.0915 | 62.3018 | 71.394 | 71.4259 | 17.2788 |
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
### Framework versions
|
| 70 |
+
|
| 71 |
+
- Transformers 4.30.2
|
| 72 |
+
- Pytorch 2.0.1+cu118
|
| 73 |
+
- Datasets 2.13.0
|
| 74 |
+
- Tokenizers 0.13.3
|