Humayoun commited on
Commit
4589886
·
1 Parent(s): 0b5ab3d

End of training

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: humayoun/ThesisDonut
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ model-index:
9
+ - name: ThesisDonutOPD
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # ThesisDonutOPD
17
+
18
+ This model is a fine-tuned version of [humayoun/ThesisDonut](https://huggingface.co/humayoun/ThesisDonut) on the imagefolder dataset.
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 2e-05
38
+ - train_batch_size: 2
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 10
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.31.0.dev0
52
+ - Pytorch 2.0.1+cu118
53
+ - Datasets 2.13.1
54
+ - Tokenizers 0.13.3
added_tokens.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s_AGE>": 57540,
3
+ "</s_BP>": 57554,
4
+ "</s_DATE>": 57538,
5
+ "</s_DIAGNOSIS BLOCK>": 57544,
6
+ "</s_DIAGNOSIS>": 57552,
7
+ "</s_DOCTOR TYPE>": 57542,
8
+ "</s_GENDER>": 57536,
9
+ "</s_HISTORY>": 57550,
10
+ "</s_INFO>": 57532,
11
+ "</s_MEDICINE BLOCK>": 57526,
12
+ "</s_MEDICINE NAME>": 57530,
13
+ "</s_MEDICINE POWER>": 57556,
14
+ "</s_MEDICINE TYPE>": 57528,
15
+ "</s_NAME>": 57534,
16
+ "</s_TEMP>": 57548,
17
+ "</s_WEIGHT>": 57546,
18
+ "<s_AGE>": 57539,
19
+ "<s_BP>": 57553,
20
+ "<s_DATE>": 57537,
21
+ "<s_DIAGNOSIS BLOCK>": 57543,
22
+ "<s_DIAGNOSIS>": 57551,
23
+ "<s_DOCTOR TYPE>": 57541,
24
+ "<s_GENDER>": 57535,
25
+ "<s_HISTORY>": 57549,
26
+ "<s_INFO>": 57531,
27
+ "<s_MEDICINE BLOCK>": 57525,
28
+ "<s_MEDICINE NAME>": 57529,
29
+ "<s_MEDICINE POWER>": 57555,
30
+ "<s_MEDICINE TYPE>": 57527,
31
+ "<s_NAME>": 57533,
32
+ "<s_TEMP>": 57547,
33
+ "<s_WEIGHT>": 57545,
34
+ "<s_iitcdip>": 57523,
35
+ "<s_synthdog>": 57524,
36
+ "<sep/>": 57522
37
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "forced_eos_token_id": 2,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.31.0.dev0"
8
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_align_long_axis": false,
3
+ "do_normalize": true,
4
+ "do_pad": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "do_thumbnail": true,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "DonutImageProcessor",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "DonutProcessor",
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": [
23
+ 720,
24
+ 960
25
+ ]
26
+ }
runs/Jul05_11-04-39_c082d0e6d394/events.out.tfevents.1688555103.c082d0e6d394.6577.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7c3f307873257793509aa9a59194f6ddb9db740a08905fc94fe438548d187e06
3
- size 9521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d789d65c1b01ec032faa476c31c784ca1e319d0ccf76e4096e4af7b88d72e852
3
+ size 9875
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb9e3dce4c326195d08fc3dd0f7e2eee1da8595c847bf4c1a9c78b7a82d47e2d
3
+ size 1296245
special_tokens_map.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s_MEDICINE BLOCK>",
4
+ "</s_MEDICINE BLOCK>",
5
+ "<s_MEDICINE TYPE>",
6
+ "</s_MEDICINE TYPE>",
7
+ "<s_MEDICINE NAME>",
8
+ "</s_MEDICINE NAME>",
9
+ "<s_INFO>",
10
+ "</s_INFO>",
11
+ "<s_NAME>",
12
+ "</s_NAME>",
13
+ "<s_GENDER>",
14
+ "</s_GENDER>",
15
+ "<s_DATE>",
16
+ "</s_DATE>",
17
+ "<s_AGE>",
18
+ "</s_AGE>",
19
+ "<s_DOCTOR TYPE>",
20
+ "</s_DOCTOR TYPE>",
21
+ "<s_DIAGNOSIS BLOCK>",
22
+ "</s_DIAGNOSIS BLOCK>",
23
+ "<s_WEIGHT>",
24
+ "</s_WEIGHT>",
25
+ "<s_TEMP>",
26
+ "</s_TEMP>",
27
+ "<s_DIAGNOSIS>",
28
+ "</s_DIAGNOSIS>",
29
+ "<s_BP>",
30
+ "</s_BP>",
31
+ "<s_HISTORY>",
32
+ "</s_HISTORY>",
33
+ "<s>",
34
+ "</s>"
35
+ ],
36
+ "bos_token": "<s>",
37
+ "cls_token": "<s>",
38
+ "eos_token": "</s>",
39
+ "mask_token": {
40
+ "content": "<mask>",
41
+ "lstrip": true,
42
+ "normalized": true,
43
+ "rstrip": false,
44
+ "single_word": false
45
+ },
46
+ "pad_token": "<pad>",
47
+ "sep_token": "</s>",
48
+ "unk_token": "<unk>"
49
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "<s>",
5
+ "eos_token": "</s>",
6
+ "mask_token": {
7
+ "__type": "AddedToken",
8
+ "content": "<mask>",
9
+ "lstrip": true,
10
+ "normalized": true,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "model_max_length": 1000000000000000019884624838656,
15
+ "pad_token": "<pad>",
16
+ "processor_class": "DonutProcessor",
17
+ "sep_token": "</s>",
18
+ "sp_model_kwargs": {},
19
+ "tokenizer_class": "XLMRobertaTokenizer",
20
+ "unk_token": "<unk>"
21
+ }