mohammadalihumayun
commited on
Commit
•
36d3027
1
Parent(s):
ec07407
End of training
Browse files
README.md
CHANGED
@@ -1,29 +1,24 @@
|
|
1 |
---
|
2 |
-
|
3 |
language:
|
4 |
- ur
|
5 |
-
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
model-index:
|
9 |
-
- name: trocr
|
10 |
results: []
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
should probably proofread and complete it, then remove this comment. -->
|
15 |
|
16 |
-
# trocr
|
17 |
|
18 |
This model is a fine-tuned version of [cxfajar197/urdu-ocr](https://huggingface.co/cxfajar197/urdu-ocr) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
-
|
21 |
-
-
|
22 |
-
- eval_runtime: 30.7583
|
23 |
-
- eval_samples_per_second: 3.251
|
24 |
-
- eval_steps_per_second: 0.228
|
25 |
-
- epoch: 1.9127
|
26 |
-
- step: 6000
|
27 |
|
28 |
## Model description
|
29 |
|
@@ -48,9 +43,18 @@ The following hyperparameters were used during training:
|
|
48 |
- seed: 42
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
- lr_scheduler_type: linear
|
51 |
-
- num_epochs:
|
52 |
- mixed_precision_training: Native AMP
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
### Framework versions
|
55 |
|
56 |
- Transformers 4.45.1
|
|
|
1 |
---
|
2 |
+
library_name: transformers
|
3 |
language:
|
4 |
- ur
|
5 |
+
base_model: cxfajar197/urdu-ocr
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
model-index:
|
9 |
+
- name: trocr for Urdu
|
10 |
results: []
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
should probably proofread and complete it, then remove this comment. -->
|
15 |
|
16 |
+
# trocr for Urdu
|
17 |
|
18 |
This model is a fine-tuned version of [cxfajar197/urdu-ocr](https://huggingface.co/cxfajar197/urdu-ocr) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.8947
|
21 |
+
- Cer: 0.2676
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 1
|
47 |
- mixed_precision_training: Native AMP
|
48 |
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Cer |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|:------:|
|
53 |
+
| 0.762 | 0.3188 | 1000 | 2.0288 | 0.2936 |
|
54 |
+
| 0.6622 | 0.6376 | 2000 | 2.0111 | 0.2791 |
|
55 |
+
| 0.5878 | 0.9563 | 3000 | 1.8947 | 0.2676 |
|
56 |
+
|
57 |
+
|
58 |
### Framework versions
|
59 |
|
60 |
- Transformers 4.45.1
|