PawanKrGunjan
commited on
Commit
•
2384a40
1
Parent(s):
e9bc296
End of training
Browse files- README.md +25 -37
- model.safetensors +1 -1
README.md
CHANGED
@@ -5,27 +5,18 @@ tags:
|
|
5 |
model-index:
|
6 |
- name: license_plate_recognizer
|
7 |
results: []
|
8 |
-
license: mit
|
9 |
-
datasets:
|
10 |
-
- PawanKrGunjan/license_plates
|
11 |
-
language:
|
12 |
-
- en
|
13 |
-
metrics:
|
14 |
-
- cer
|
15 |
-
library_name: transformers
|
16 |
-
pipeline_tag: image-to-text
|
17 |
---
|
18 |
|
19 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
20 |
should probably proofread and complete it, then remove this comment. -->
|
21 |
|
22 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/pawankrgunjan/huggingface/runs/
|
23 |
# license_plate_recognizer
|
24 |
|
25 |
This model is a fine-tuned version of [microsoft/trocr-base-handwritten](https://huggingface.co/microsoft/trocr-base-handwritten) on an unknown dataset.
|
26 |
It achieves the following results on the evaluation set:
|
27 |
-
- Loss: 0.
|
28 |
-
- Cer: 0.
|
29 |
|
30 |
## Model description
|
31 |
|
@@ -50,35 +41,32 @@ The following hyperparameters were used during training:
|
|
50 |
- seed: 42
|
51 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
- lr_scheduler_type: linear
|
53 |
-
- num_epochs:
|
54 |
|
55 |
### Training results
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | Cer |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.0001 | 15.0 | 5955 | 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.0001 | 19.0 | 7543 | 0.
|
78 |
-
| 0.0001 | 20.0 | 7940 | 0.
|
79 |
-
| 0.0 | 21.0 | 8337 | 0.0050 | 0.0018 |
|
80 |
-
| 0.0 | 22.0 | 8734 | 0.0051 | 0.0018 |
|
81 |
-
| 0.0 | 23.0 | 9131 | 0.0051 | 0.0018 |
|
82 |
|
83 |
|
84 |
### Framework versions
|
@@ -86,4 +74,4 @@ The following hyperparameters were used during training:
|
|
86 |
- Transformers 4.42.3
|
87 |
- Pytorch 2.1.2
|
88 |
- Datasets 2.20.0
|
89 |
-
- Tokenizers 0.19.1
|
|
|
5 |
model-index:
|
6 |
- name: license_plate_recognizer
|
7 |
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
---
|
9 |
|
10 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
should probably proofread and complete it, then remove this comment. -->
|
12 |
|
13 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/pawankrgunjan/huggingface/runs/3caod3mu)
|
14 |
# license_plate_recognizer
|
15 |
|
16 |
This model is a fine-tuned version of [microsoft/trocr-base-handwritten](https://huggingface.co/microsoft/trocr-base-handwritten) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.0098
|
19 |
+
- Cer: 0.0053
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
41 |
- seed: 42
|
42 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 20
|
45 |
|
46 |
### Training results
|
47 |
|
48 |
| Training Loss | Epoch | Step | Validation Loss | Cer |
|
49 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
50 |
+
| 0.1379 | 1.0 | 397 | 0.0408 | 0.0124 |
|
51 |
+
| 0.0817 | 2.0 | 794 | 0.0313 | 0.0093 |
|
52 |
+
| 0.0641 | 3.0 | 1191 | 0.0253 | 0.0089 |
|
53 |
+
| 0.0431 | 4.0 | 1588 | 0.0221 | 0.0089 |
|
54 |
+
| 0.0246 | 5.0 | 1985 | 0.0233 | 0.0067 |
|
55 |
+
| 0.0192 | 6.0 | 2382 | 0.0193 | 0.0053 |
|
56 |
+
| 0.0205 | 7.0 | 2779 | 0.0221 | 0.0062 |
|
57 |
+
| 0.0158 | 8.0 | 3176 | 0.0134 | 0.0062 |
|
58 |
+
| 0.0074 | 9.0 | 3573 | 0.0086 | 0.0040 |
|
59 |
+
| 0.0074 | 10.0 | 3970 | 0.0056 | 0.0027 |
|
60 |
+
| 0.0036 | 11.0 | 4367 | 0.0033 | 0.0018 |
|
61 |
+
| 0.0079 | 12.0 | 4764 | 0.0075 | 0.0049 |
|
62 |
+
| 0.002 | 13.0 | 5161 | 0.0039 | 0.0027 |
|
63 |
+
| 0.0004 | 14.0 | 5558 | 0.0028 | 0.0022 |
|
64 |
+
| 0.0001 | 15.0 | 5955 | 0.0039 | 0.0027 |
|
65 |
+
| 0.0001 | 16.0 | 6352 | 0.0047 | 0.0035 |
|
66 |
+
| 0.0011 | 17.0 | 6749 | 0.0041 | 0.0027 |
|
67 |
+
| 0.0001 | 18.0 | 7146 | 0.0053 | 0.0018 |
|
68 |
+
| 0.0001 | 19.0 | 7543 | 0.0047 | 0.0018 |
|
69 |
+
| 0.0001 | 20.0 | 7940 | 0.0047 | 0.0018 |
|
|
|
|
|
|
|
70 |
|
71 |
|
72 |
### Framework versions
|
|
|
74 |
- Transformers 4.42.3
|
75 |
- Pytorch 2.1.2
|
76 |
- Datasets 2.20.0
|
77 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1335747032
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:235e4c31c949bead52427e313a95567390534992261bd7a276229ddf209f315f
|
3 |
size 1335747032
|