wnkh commited on
Commit
165899a
·
verified ·
1 Parent(s): 3ed5cb7

Model save

Browse files
Files changed (2) hide show
  1. README.md +64 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/byt5-small
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: byt5-ocr-correction-3-Feb
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # byt5-ocr-correction-3-Feb
16
+
17
+ This model is a fine-tuned version of [google/byt5-small](https://huggingface.co/google/byt5-small) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.3699
20
+ - Cer: 0.1666
21
+ - Cer Raw: 0.1865
22
+ - Exact Match: 0.1572
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.0003
42
+ - train_batch_size: 4
43
+ - eval_batch_size: 4
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 16
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 7
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Cer | Cer Raw | Exact Match |
55
+ |:-------------:|:------:|:-----:|:---------------:|:------:|:-------:|:-----------:|
56
+ | 0.3578 | 3.5487 | 20000 | 0.3699 | 0.1666 | 0.1865 | 0.1572 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.57.6
62
+ - Pytorch 2.10.0+cu128
63
+ - Datasets 4.3.0
64
+ - Tokenizers 0.22.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3e47a359a340115c576c553fb2db6bd09d1ba56ceea9998e8bed012dfc8e17c
3
  size 1198571496
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fbfa255ea2c2cc94d6c7fff1b1506c372d9d75c283cc63196e95ff7920fa377
3
  size 1198571496