smz8599 commited on
Commit
cbef705
·
1 Parent(s): 9676504

commit files to HF hub

Browse files
ChartQA.log ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ ChartQA: 0.35842696629213483
4
+ ChartQA_Human: 0.32985074626865674
DocVQA_small.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ docVQA: 0.6284916201117319
FUNSD.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ FUNSD: 0.3294663573085847
InfoQA.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ infographicVQA: 0.2972488038277512
LaRA_vqaplus_chartQA.json ADDED
The diff for this file is too large to render. See raw diff
 
LaRA_vqaplus_docvqa.json ADDED
The diff for this file is too large to render. See raw diff
 
LaRA_vqaplus_funsdvqa.json ADDED
The diff for this file is too large to render. See raw diff
 
LaRA_vqaplus_infovqa.json ADDED
The diff for this file is too large to render. See raw diff
 
LaRA_vqaplus_ocrvqa.json ADDED
The diff for this file is too large to render. See raw diff
 
LaRA_vqaplus_sroie.json ADDED
The diff for this file is too large to render. See raw diff
 
LaRA_vqaplus_stvqa.json ADDED
The diff for this file is too large to render. See raw diff
 
LaRA_vqaplus_textqa.json ADDED
The diff for this file is too large to render. See raw diff
 
OCRBench.log ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ output_path:./OCRBench/OCRBenchv2.json exist! Only generate the results that were not generated in ./OCRBench/OCRBenchv2.json.
2
+ Process 0 start.
3
+ OCR module is on!!!
4
+ ###########################OCRBench##############################
5
+ Text Recognition(Total 300):222
6
+ ------------------Details of Recognition Score-------------------
7
+ Regular Text Recognition(Total 50): 48
8
+ Irregular Text Recognition(Total 50): 43
9
+ Artistic Text Recognition(Total 50): 43
10
+ Handwriting Recognition(Total 50): 24
11
+ Digit String Recognition(Total 50): 23
12
+ Non-Semantic Text Recognition(Total 50): 41
13
+ ----------------------------------------------------------------
14
+ Scene Text-centric VQA(Total 200): 152
15
+ ----------------------------------------------------------------
16
+ Doc-oriented VQA(Total 200): 85
17
+ ----------------------------------------------------------------
18
+ Key Information Extraction(Total 200): 130
19
+ ----------------------------------------------------------------
20
+ Handwritten Mathematical Expression Recognition(Total 100): 1
21
+ ----------------------Final Score-------------------------------
22
+ Final Score(Total 1000): 590
OcrVQA.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ ocrVQA: 0.25716064757160645
SROIE.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ SROIE: 0.39985590778097985
STVQA.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ STVQA: 0.49834983498349833
TextVQA.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Process 0 start.
2
+ OCR module is on!!!
3
+ textVQA: 0.5892090741876149
added_tokens.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 32001,
3
+ "<|endoftext|>": 32000,
4
+ "<|end|>": 32007,
5
+ "<|placeholder1|>": 32002,
6
+ "<|placeholder2|>": 32003,
7
+ "<|placeholder3|>": 32004,
8
+ "<|placeholder4|>": 32005,
9
+ "<|placeholder5|>": 32008,
10
+ "<|placeholder6|>": 32009,
11
+ "<|system|>": 32006,
12
+ "<|user|>": 32010
13
+ }
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/Phi-3-mini-4k-instruct",
3
+ "architectures": [
4
+ "LlavaPhiForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "microsoft/Phi-3-mini-4k-instruct--configuration_phi3.Phi3Config",
10
+ "AutoModelForCausalLM": "microsoft/Phi-3-mini-4k-instruct--modeling_phi3.Phi3ForCausalLM"
11
+ },
12
+ "bos_token_id": 1,
13
+ "delay_load": false,
14
+ "embd_pdrop": 0.0,
15
+ "eos_token_id": 32000,
16
+ "freeze_mm_mlp_adapter": false,
17
+ "freeze_vision": false,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 3072,
20
+ "image_aspect_ratio": "pad",
21
+ "image_grid_pinpoints": null,
22
+ "initializer_range": 0.02,
23
+ "input_image_size": 768,
24
+ "intermediate_size": 8192,
25
+ "is_multipath_encoder": true,
26
+ "max_position_embeddings": 4096,
27
+ "mm_hidden_size": 1024,
28
+ "mm_patch_merge_type": "flat",
29
+ "mm_projector_lr": null,
30
+ "mm_projector_type": "mlp2x_gelu",
31
+ "mm_use_im_patch_token": false,
32
+ "mm_use_im_start_end": false,
33
+ "mm_vision_select_feature": "patch",
34
+ "mm_vision_select_layer": -2,
35
+ "mm_vision_tower": "openai/clip-vit-large-patch14-336",
36
+ "model_type": "llava_phi",
37
+ "num_attention_heads": 32,
38
+ "num_hidden_layers": 32,
39
+ "num_key_value_heads": 32,
40
+ "original_max_position_embeddings": 4096,
41
+ "pad_token_id": 32000,
42
+ "resid_pdrop": 0.0,
43
+ "rms_norm_eps": 1e-05,
44
+ "rope_scaling": null,
45
+ "rope_theta": 10000.0,
46
+ "sliding_window": 2047,
47
+ "tie_word_embeddings": false,
48
+ "tokenizer_model_max_length": 4096,
49
+ "tokenizer_padding_side": "right",
50
+ "torch_dtype": "bfloat16",
51
+ "transformers_version": "4.42.0.dev0",
52
+ "tune_mm_mlp_adapter": false,
53
+ "use_cache": true,
54
+ "use_mm_proj": true,
55
+ "vision_tower_slow": "convnext_large_mlp.clip_laion2b_ft_320",
56
+ "vocab_size": 32064
57
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": [
5
+ 32000,
6
+ 32001,
7
+ 32007
8
+ ],
9
+ "pad_token_id": 32000,
10
+ "transformers_version": "4.42.0.dev0"
11
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aadeb32a99cc2dd95d2e9fe9313b381fb334e2b5b9ac1f6675e602e0969af04
3
+ size 4972489328
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858e343e210a8e58643c9dea24a2ad17e2817893d2e740653d1e43fd951f7a54
3
+ size 3744027134
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": true,
27
+ "single_word": false,
28
+ "special": false
29
+ },
30
+ "32000": {
31
+ "content": "<|endoftext|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<|assistant|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": true,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "32002": {
47
+ "content": "<|placeholder1|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": true,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "32003": {
55
+ "content": "<|placeholder2|>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": true,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "32004": {
63
+ "content": "<|placeholder3|>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": true,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "32005": {
71
+ "content": "<|placeholder4|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": true,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "32006": {
79
+ "content": "<|system|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": true,
83
+ "single_word": false,
84
+ "special": true
85
+ },
86
+ "32007": {
87
+ "content": "<|end|>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": true,
91
+ "single_word": false,
92
+ "special": true
93
+ },
94
+ "32008": {
95
+ "content": "<|placeholder5|>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": true,
99
+ "single_word": false,
100
+ "special": true
101
+ },
102
+ "32009": {
103
+ "content": "<|placeholder6|>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": true,
107
+ "single_word": false,
108
+ "special": true
109
+ },
110
+ "32010": {
111
+ "content": "<|user|>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": true,
115
+ "single_word": false,
116
+ "special": true
117
+ }
118
+ },
119
+ "bos_token": "<s>",
120
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
121
+ "clean_up_tokenization_spaces": false,
122
+ "eos_token": "<|endoftext|>",
123
+ "legacy": false,
124
+ "model_max_length": 4096,
125
+ "pad_token": "<unk>",
126
+ "padding_side": "right",
127
+ "sp_model_kwargs": {},
128
+ "spaces_between_special_tokens": false,
129
+ "tokenizer_class": "LlamaTokenizer",
130
+ "unk_token": "<unk>",
131
+ "use_default_system_prompt": false
132
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15ff3529ac74b3c436c3271514ab0db7db92fca34869c702407f601d3e36a368
3
+ size 7544