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_1709_v6
|
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_1709_v6
|
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.0158
|
23 |
+
- Precision: 0.9871
|
24 |
+
- Recall: 0.9831
|
25 |
+
- F1: 0.9851
|
26 |
+
- Accuracy: 0.9951
|
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: 4
|
47 |
+
- eval_batch_size: 4
|
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.2794 | 1.0 | 1951 | 0.2144 | 0.7935 | 0.7534 | 0.7729 | 0.9414 |
|
58 |
+
| 0.2179 | 2.0 | 3902 | 0.1587 | 0.8333 | 0.7994 | 0.8160 | 0.9555 |
|
59 |
+
| 0.1752 | 3.0 | 5853 | 0.1272 | 0.8639 | 0.8239 | 0.8434 | 0.9642 |
|
60 |
+
| 0.1507 | 4.0 | 7804 | 0.1063 | 0.8844 | 0.8510 | 0.8674 | 0.9699 |
|
61 |
+
| 0.1273 | 5.0 | 9755 | 0.0859 | 0.9044 | 0.8753 | 0.8896 | 0.9755 |
|
62 |
+
| 0.1106 | 6.0 | 11706 | 0.0762 | 0.9197 | 0.8838 | 0.9014 | 0.9779 |
|
63 |
+
| 0.0984 | 7.0 | 13657 | 0.0670 | 0.9255 | 0.9035 | 0.9144 | 0.9805 |
|
64 |
+
| 0.0861 | 8.0 | 15608 | 0.0571 | 0.9402 | 0.9150 | 0.9274 | 0.9832 |
|
65 |
+
| 0.0754 | 9.0 | 17559 | 0.0517 | 0.9469 | 0.9269 | 0.9368 | 0.9844 |
|
66 |
+
| 0.07 | 10.0 | 19510 | 0.0442 | 0.9559 | 0.9361 | 0.9459 | 0.9866 |
|
67 |
+
| 0.0636 | 11.0 | 21461 | 0.0387 | 0.9604 | 0.9477 | 0.9540 | 0.9882 |
|
68 |
+
| 0.0597 | 12.0 | 23412 | 0.0315 | 0.9673 | 0.9559 | 0.9616 | 0.9903 |
|
69 |
+
| 0.0523 | 13.0 | 25363 | 0.0296 | 0.9723 | 0.9612 | 0.9667 | 0.9909 |
|
70 |
+
| 0.0449 | 14.0 | 27314 | 0.0258 | 0.9744 | 0.9683 | 0.9713 | 0.9920 |
|
71 |
+
| 0.0407 | 15.0 | 29265 | 0.0226 | 0.9797 | 0.9715 | 0.9756 | 0.9930 |
|
72 |
+
| 0.0395 | 16.0 | 31216 | 0.0212 | 0.9817 | 0.9758 | 0.9788 | 0.9934 |
|
73 |
+
| 0.0357 | 17.0 | 33167 | 0.0181 | 0.9843 | 0.9783 | 0.9813 | 0.9943 |
|
74 |
+
| 0.0356 | 18.0 | 35118 | 0.0172 | 0.9859 | 0.9812 | 0.9836 | 0.9947 |
|
75 |
+
| 0.0328 | 19.0 | 37069 | 0.0162 | 0.9865 | 0.9829 | 0.9847 | 0.9950 |
|
76 |
+
| 0.0316 | 20.0 | 39020 | 0.0158 | 0.9871 | 0.9831 | 0.9851 | 0.9951 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.28.0
|
82 |
+
- Pytorch 2.0.1+cu118
|
83 |
+
- Datasets 2.14.5
|
84 |
+
- Tokenizers 0.13.3
|