PQAshwin commited on
Commit
3fd35d7
1 Parent(s): f2ee816

Model save

Browse files
Files changed (2) hide show
  1. README.md +60 -0
  2. generation_config.json +13 -0
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/trocr-base-printed
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: trocr-base-printed_license_plates_ocr_timestamp
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
+ # trocr-base-printed_license_plates_ocr_timestamp
14
+
15
+ This model is a fine-tuned version of [microsoft/trocr-base-printed](https://huggingface.co/microsoft/trocr-base-printed) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.0631
18
+ - Cer: 0.01
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 4
44
+
45
+ ### Training results
46
+
47
+ | Training Loss | Epoch | Step | Validation Loss | Cer |
48
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
49
+ | 10.4185 | 1.0 | 315 | 0.3811 | 0.0792 |
50
+ | 0.5419 | 2.0 | 630 | 0.1693 | 0.0311 |
51
+ | 0.5419 | 3.0 | 945 | 0.0963 | 0.0134 |
52
+ | 0.0944 | 4.0 | 1260 | 0.0631 | 0.01 |
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - Transformers 4.36.2
58
+ - Pytorch 2.1.0+cu121
59
+ - Datasets 2.16.1
60
+ - Tokenizers 0.15.0
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 0,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "length_penalty": 2.0,
7
+ "max_length": 64,
8
+ "no_repeat_ngram_size": 3,
9
+ "num_beams": 4,
10
+ "pad_token_id": 1,
11
+ "transformers_version": "4.36.2",
12
+ "use_cache": false
13
+ }