Model save
Browse files- README.md +51 -0
- generation_config.json +9 -0
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/trocr-large-stage1
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: trocr-large-printed-im2latex100k
|
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-large-printed-im2latex100k
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [microsoft/trocr-large-stage1](https://huggingface.co/microsoft/trocr-large-stage1) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 2e-05
|
35 |
+
- train_batch_size: 8
|
36 |
+
- eval_batch_size: 8
|
37 |
+
- seed: 42
|
38 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
39 |
+
- lr_scheduler_type: linear
|
40 |
+
- num_epochs: 2
|
41 |
+
|
42 |
+
### Training results
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
### Framework versions
|
47 |
+
|
48 |
+
- Transformers 4.37.2
|
49 |
+
- Pytorch 2.0.1
|
50 |
+
- Datasets 2.17.0
|
51 |
+
- Tokenizers 0.15.2
|
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.37.2",
|
8 |
+
"use_cache": false
|
9 |
+
}
|