mohammadalihumayun commited on
Commit
0e119af
1 Parent(s): 0eb5599

End of training

Browse files
Files changed (3) hide show
  1. README.md +59 -0
  2. generation_config.json +11 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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
+ - eval_loss: 1.8610
21
+ - eval_cer: 0.2585
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
+
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: 5e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 2
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Framework versions
55
+
56
+ - Transformers 4.45.1
57
+ - Pytorch 2.4.0
58
+ - Datasets 3.0.1
59
+ - Tokenizers 0.20.0
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 101,
3
+ "early_stopping": true,
4
+ "eos_token_id": 102,
5
+ "length_penalty": 2.0,
6
+ "max_length": 128,
7
+ "no_repeat_ngram_size": 3,
8
+ "num_beams": 4,
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.45.1"
11
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e50feb7efd6250433746d0ed93c5eff1b84d20b4cdce4948a0700ac57a8fbff6
3
  size 1172161724
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb567c091c51f694bed4f3f7b1cd0c6fc5fac30339935f8e6d95b133873b9201
3
  size 1172161724