Model save
Browse files- README.md +5 -5
- generation_config.json +1 -1
README.md
CHANGED
@@ -15,8 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
This model is a fine-tuned version of [microsoft/trocr-large-printed](https://huggingface.co/microsoft/trocr-large-printed) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Loss: 0.
|
19 |
-
- Cer: 0.
|
20 |
|
21 |
## Model description
|
22 |
|
@@ -47,13 +47,13 @@ The following hyperparameters were used during training:
|
|
47 |
|
48 |
| Training Loss | Epoch | Step | Validation Loss | Cer |
|
49 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
50 |
-
|
|
51 |
-
| 0.
|
52 |
|
53 |
|
54 |
### Framework versions
|
55 |
|
56 |
- Transformers 4.45.2
|
57 |
-
- Pytorch 2.
|
58 |
- Datasets 3.2.0
|
59 |
- Tokenizers 0.20.3
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [microsoft/trocr-large-printed](https://huggingface.co/microsoft/trocr-large-printed) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.2391
|
19 |
+
- Cer: 0.0033
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
47 |
|
48 |
| Training Loss | Epoch | Step | Validation Loss | Cer |
|
49 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
50 |
+
| 0.5455 | 1.0 | 841 | 0.4618 | 0.0201 |
|
51 |
+
| 0.2068 | 2.0 | 1682 | 0.2391 | 0.0033 |
|
52 |
|
53 |
|
54 |
### Framework versions
|
55 |
|
56 |
- Transformers 4.45.2
|
57 |
+
- Pytorch 2.1.0+cu118
|
58 |
- Datasets 3.2.0
|
59 |
- Tokenizers 0.20.3
|
generation_config.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"early_stopping": true,
|
5 |
"eos_token_id": 2,
|
6 |
"length_penalty": 0,
|
7 |
-
"max_length":
|
8 |
"no_repeat_ngram_size": 3,
|
9 |
"num_beams": 8,
|
10 |
"pad_token_id": 1,
|
|
|
4 |
"early_stopping": true,
|
5 |
"eos_token_id": 2,
|
6 |
"length_penalty": 0,
|
7 |
+
"max_length": 46,
|
8 |
"no_repeat_ngram_size": 3,
|
9 |
"num_beams": 8,
|
10 |
"pad_token_id": 1,
|