update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- precision
|
| 7 |
+
- recall
|
| 8 |
+
- f1
|
| 9 |
+
- accuracy
|
| 10 |
+
model-index:
|
| 11 |
+
- name: spellcorrector_0411
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# spellcorrector_0411
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [google/canine-s](https://huggingface.co/google/canine-s) on the None dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.0830
|
| 23 |
+
- Precision: 0.9784
|
| 24 |
+
- Recall: 0.9815
|
| 25 |
+
- F1: 0.9799
|
| 26 |
+
- Accuracy: 0.9828
|
| 27 |
+
|
| 28 |
+
## Model description
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Intended uses & limitations
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training and evaluation data
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Training procedure
|
| 41 |
+
|
| 42 |
+
### Training hyperparameters
|
| 43 |
+
|
| 44 |
+
The following hyperparameters were used during training:
|
| 45 |
+
- learning_rate: 2e-05
|
| 46 |
+
- train_batch_size: 8
|
| 47 |
+
- eval_batch_size: 8
|
| 48 |
+
- seed: 42
|
| 49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 50 |
+
- lr_scheduler_type: linear
|
| 51 |
+
- num_epochs: 20
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 56 |
+
|:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 57 |
+
| 0.2319 | 1.0 | 975 | 0.1268 | 0.9458 | 0.9834 | 0.9642 | 0.9741 |
|
| 58 |
+
| 0.1296 | 2.0 | 1950 | 0.1063 | 0.9530 | 0.9812 | 0.9669 | 0.9754 |
|
| 59 |
+
| 0.1095 | 3.0 | 2925 | 0.0883 | 0.9653 | 0.9788 | 0.9720 | 0.9786 |
|
| 60 |
+
| 0.0934 | 4.0 | 3900 | 0.0842 | 0.9692 | 0.9776 | 0.9734 | 0.9790 |
|
| 61 |
+
| 0.0829 | 5.0 | 4875 | 0.0794 | 0.9716 | 0.9797 | 0.9756 | 0.9809 |
|
| 62 |
+
| 0.0753 | 6.0 | 5850 | 0.0755 | 0.9729 | 0.9816 | 0.9773 | 0.9817 |
|
| 63 |
+
| 0.0695 | 7.0 | 6825 | 0.0739 | 0.9751 | 0.9789 | 0.9770 | 0.9815 |
|
| 64 |
+
| 0.0641 | 8.0 | 7800 | 0.0736 | 0.9767 | 0.9798 | 0.9782 | 0.9821 |
|
| 65 |
+
| 0.0591 | 9.0 | 8775 | 0.0744 | 0.9767 | 0.9805 | 0.9786 | 0.9822 |
|
| 66 |
+
| 0.0537 | 10.0 | 9750 | 0.0742 | 0.9777 | 0.9798 | 0.9787 | 0.9822 |
|
| 67 |
+
| 0.0502 | 11.0 | 10725 | 0.0753 | 0.9773 | 0.9806 | 0.9790 | 0.9825 |
|
| 68 |
+
| 0.0472 | 12.0 | 11700 | 0.0757 | 0.9780 | 0.9808 | 0.9794 | 0.9827 |
|
| 69 |
+
| 0.044 | 13.0 | 12675 | 0.0768 | 0.9772 | 0.9816 | 0.9794 | 0.9827 |
|
| 70 |
+
| 0.0407 | 14.0 | 13650 | 0.0784 | 0.9775 | 0.9815 | 0.9795 | 0.9827 |
|
| 71 |
+
| 0.039 | 15.0 | 14625 | 0.0790 | 0.9779 | 0.9816 | 0.9798 | 0.9828 |
|
| 72 |
+
| 0.0364 | 16.0 | 15600 | 0.0804 | 0.9778 | 0.9813 | 0.9795 | 0.9825 |
|
| 73 |
+
| 0.0343 | 17.0 | 16575 | 0.0811 | 0.9783 | 0.9811 | 0.9797 | 0.9828 |
|
| 74 |
+
| 0.0329 | 18.0 | 17550 | 0.0819 | 0.9785 | 0.9820 | 0.9803 | 0.9829 |
|
| 75 |
+
| 0.0314 | 19.0 | 18525 | 0.0822 | 0.9785 | 0.9808 | 0.9797 | 0.9826 |
|
| 76 |
+
| 0.0308 | 20.0 | 19500 | 0.0830 | 0.9784 | 0.9815 | 0.9799 | 0.9828 |
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
### Framework versions
|
| 80 |
+
|
| 81 |
+
- Transformers 4.28.0
|
| 82 |
+
- Pytorch 2.1.0+cu118
|
| 83 |
+
- Datasets 2.14.6
|
| 84 |
+
- Tokenizers 0.13.3
|