Amadeus99 commited on
Commit
c92c6d6
·
verified ·
1 Parent(s): 7d4d811

Model save

Browse files
Files changed (3) hide show
  1. README.md +58 -0
  2. generation_config.json +9 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/trocr-small-handwritten
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: ocr-pemilu
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
+ # ocr-pemilu
14
+
15
+ This model is a fine-tuned version of [microsoft/trocr-small-handwritten](https://huggingface.co/microsoft/trocr-small-handwritten) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 9.2413
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 5e-05
37
+ - train_batch_size: 4
38
+ - eval_batch_size: 4
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 3
43
+
44
+ ### Training results
45
+
46
+ | Training Loss | Epoch | Step | Validation Loss |
47
+ |:-------------:|:-----:|:----:|:---------------:|
48
+ | 2.2183 | 1.0 | 1860 | 9.2413 |
49
+ | 1.8633 | 2.0 | 3720 | 9.5521 |
50
+ | 1.5612 | 3.0 | 5580 | 11.4981 |
51
+
52
+
53
+ ### Framework versions
54
+
55
+ - Transformers 4.41.2
56
+ - Pytorch 2.1.2
57
+ - Datasets 2.19.2
58
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 2,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.41.2",
8
+ "use_cache": false
9
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:12915479c5003904aaeddc30b043a8a6f384df6a74042c23aa120bfa4c00a4fd
3
  size 246430696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7b5c87ac8b578e3552df959e8e5cb933a4ca2bba5c6f0fd8c61bd2283c98504
3
  size 246430696