Ransaka commited on
Commit
5c4cee1
1 Parent(s): 70e2019

End of training

Browse files
Files changed (2) hide show
  1. README.md +58 -0
  2. generation_config.json +13 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Ransaka/sinhala-ocr-model
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: sinhala-ocr-model-v2
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
+ # sinhala-ocr-model-v2
14
+
15
+ This model is a fine-tuned version of [Ransaka/sinhala-ocr-model](https://huggingface.co/Ransaka/sinhala-ocr-model) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - eval_loss: 5.0265
18
+ - eval_cer: 0.4829
19
+ - eval_runtime: 219.5849
20
+ - eval_samples_per_second: 1.858
21
+ - eval_steps_per_second: 0.465
22
+ - epoch: 3.92
23
+ - step: 300
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 3e-05
43
+ - train_batch_size: 4
44
+ - eval_batch_size: 4
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 16
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - training_steps: 5000
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Framework versions
54
+
55
+ - Transformers 4.35.2
56
+ - Pytorch 2.0.0
57
+ - Datasets 2.16.0
58
+ - Tokenizers 0.15.0
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 3,
6
+ "length_penalty": 2.0,
7
+ "max_length": 64,
8
+ "no_repeat_ngram_size": 3,
9
+ "num_beams": 4,
10
+ "pad_token_id": 0,
11
+ "transformers_version": "4.35.2",
12
+ "use_cache": false
13
+ }