PawanKrGunjan commited on
Commit
2415b80
·
verified ·
1 Parent(s): c63a7b5

Model save

Browse files
Files changed (2) hide show
  1. README.md +56 -9
  2. generation_config.json +11 -0
README.md CHANGED
@@ -1,11 +1,58 @@
1
  ---
2
- license: mit
3
- language:
4
- - en
5
- metrics:
6
- - character
7
- library_name: transformers
8
- pipeline_tag: image-to-text
9
  tags:
10
- - code
11
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: microsoft/trocr-base-handwritten
 
 
 
 
 
 
3
  tags:
4
+ - generated_from_trainer
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/ccr8xsj5)
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.0696
19
+ - Cer: 0.0231
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 1
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss | Cer |
49
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
50
+ | 0.333 | 1.0 | 254 | 0.0554 | 0.0164 |
51
+
52
+
53
+ ### Framework versions
54
+
55
+ - Transformers 4.42.3
56
+ - Pytorch 2.1.2
57
+ - Datasets 2.20.0
58
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 0,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "max_length": 128,
7
+ "num_beams": 3,
8
+ "pad_token_id": 1,
9
+ "transformers_version": "4.42.3",
10
+ "use_cache": false
11
+ }