IvanHahan commited on
Commit
c0fbed8
·
verified ·
1 Parent(s): 53a2869

Training in progress, step 1000

Browse files
Files changed (3) hide show
  1. config.json +241 -0
  2. model.safetensors +3 -0
  3. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "stereologic/florence2-encoder-sampling",
3
+ "architectures": [
4
+ "Florence2Pretrain"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "HuggingFaceM4/Florence-2-DocVQA--configuration_florence2.Florence2Config",
8
+ "AutoModelForCausalLM": "HuggingFaceM4/Florence-2-DocVQA--modeling_florence2.Florence2ForConditionalGeneration"
9
+ },
10
+ "bos_token_id": 0,
11
+ "eos_token_id": 2,
12
+ "hidden_size": 1024,
13
+ "ignore_index": -100,
14
+ "is_encoder_decoder": true,
15
+ "model_type": "florence2",
16
+ "pad_token_id": 1,
17
+ "projection_dim": 1024,
18
+ "text_config": {
19
+ "_name_or_path": "",
20
+ "activation_dropout": 0.1,
21
+ "activation_function": "gelu",
22
+ "add_bias_logits": false,
23
+ "add_cross_attention": false,
24
+ "add_final_layer_norm": false,
25
+ "architectures": null,
26
+ "attention_dropout": 0.1,
27
+ "bad_words_ids": null,
28
+ "begin_suppress_tokens": null,
29
+ "bos_token_id": 0,
30
+ "chunk_size_feed_forward": 0,
31
+ "classif_dropout": 0.1,
32
+ "classifier_dropout": 0.0,
33
+ "cross_attention_hidden_size": null,
34
+ "d_model": 1024,
35
+ "decoder_attention_heads": 16,
36
+ "decoder_ffn_dim": 4096,
37
+ "decoder_layerdrop": 0.0,
38
+ "decoder_layers": 12,
39
+ "decoder_start_token_id": 2,
40
+ "diversity_penalty": 0.0,
41
+ "do_sample": false,
42
+ "dropout": 0.1,
43
+ "early_stopping": true,
44
+ "encoder_attention_heads": 16,
45
+ "encoder_ffn_dim": 4096,
46
+ "encoder_layerdrop": 0.0,
47
+ "encoder_layers": 12,
48
+ "encoder_no_repeat_ngram_size": 0,
49
+ "eos_token_id": 2,
50
+ "exponential_decay_length_penalty": null,
51
+ "finetuning_task": null,
52
+ "forced_bos_token_id": 0,
53
+ "forced_eos_token_id": 2,
54
+ "gradient_checkpointing": false,
55
+ "hidden_dropout_prob": 0.1,
56
+ "id2label": {
57
+ "0": "LABEL_0",
58
+ "1": "LABEL_1",
59
+ "2": "LABEL_2"
60
+ },
61
+ "init_std": 0.02,
62
+ "is_decoder": false,
63
+ "is_encoder_decoder": true,
64
+ "label2id": {
65
+ "LABEL_0": 0,
66
+ "LABEL_1": 1,
67
+ "LABEL_2": 2
68
+ },
69
+ "layer_norm_eps": 1e-05,
70
+ "length_penalty": 1.0,
71
+ "max_2d_position_embeddings": 1024,
72
+ "max_length": 20,
73
+ "max_position_embeddings": 4096,
74
+ "min_length": 0,
75
+ "model_type": "florence2_language",
76
+ "no_repeat_ngram_size": 3,
77
+ "normalize_before": false,
78
+ "num_beam_groups": 1,
79
+ "num_beams": 3,
80
+ "num_hidden_layers": 12,
81
+ "num_return_sequences": 1,
82
+ "output_attentions": false,
83
+ "output_hidden_states": false,
84
+ "output_scores": false,
85
+ "pad_token_id": 1,
86
+ "prefix": null,
87
+ "problem_type": null,
88
+ "pruned_heads": {},
89
+ "remove_invalid_values": false,
90
+ "repetition_penalty": 1.0,
91
+ "return_dict": true,
92
+ "return_dict_in_generate": false,
93
+ "scale_embedding": false,
94
+ "sep_token_id": null,
95
+ "suppress_tokens": null,
96
+ "task_specific_params": null,
97
+ "temperature": 1.0,
98
+ "tf_legacy_loss": false,
99
+ "tie_encoder_decoder": false,
100
+ "tie_word_embeddings": true,
101
+ "tokenizer_class": null,
102
+ "top_k": 50,
103
+ "top_p": 1.0,
104
+ "torch_dtype": null,
105
+ "torchscript": false,
106
+ "typical_p": 1.0,
107
+ "use_bfloat16": false,
108
+ "use_cache": true,
109
+ "vocab_size": 51289
110
+ },
111
+ "torch_dtype": "float32",
112
+ "transformers_version": "4.40.1",
113
+ "vision_config": {
114
+ "_name_or_path": "",
115
+ "add_cross_attention": false,
116
+ "architectures": null,
117
+ "bad_words_ids": null,
118
+ "begin_suppress_tokens": null,
119
+ "bos_token_id": null,
120
+ "chunk_size_feed_forward": 0,
121
+ "cross_attention_hidden_size": null,
122
+ "decoder_start_token_id": null,
123
+ "depths": [
124
+ 1,
125
+ 1,
126
+ 9,
127
+ 1
128
+ ],
129
+ "dim_embed": [
130
+ 256,
131
+ 512,
132
+ 1024,
133
+ 2048
134
+ ],
135
+ "diversity_penalty": 0.0,
136
+ "do_sample": false,
137
+ "drop_path_rate": 0.1,
138
+ "early_stopping": false,
139
+ "enable_checkpoint": false,
140
+ "encoder_no_repeat_ngram_size": 0,
141
+ "eos_token_id": null,
142
+ "exponential_decay_length_penalty": null,
143
+ "finetuning_task": null,
144
+ "forced_bos_token_id": null,
145
+ "forced_eos_token_id": null,
146
+ "id2label": {
147
+ "0": "LABEL_0",
148
+ "1": "LABEL_1"
149
+ },
150
+ "image_feature_source": [
151
+ "spatial_avg_pool",
152
+ "temporal_avg_pool"
153
+ ],
154
+ "image_pos_embed": {
155
+ "max_pos_embeddings": 50,
156
+ "type": "learned_abs_2d"
157
+ },
158
+ "is_decoder": false,
159
+ "is_encoder_decoder": false,
160
+ "label2id": {
161
+ "LABEL_0": 0,
162
+ "LABEL_1": 1
163
+ },
164
+ "length_penalty": 1.0,
165
+ "max_length": 20,
166
+ "min_length": 0,
167
+ "model_type": "",
168
+ "no_repeat_ngram_size": 0,
169
+ "num_beam_groups": 1,
170
+ "num_beams": 1,
171
+ "num_groups": [
172
+ 8,
173
+ 16,
174
+ 32,
175
+ 64
176
+ ],
177
+ "num_heads": [
178
+ 8,
179
+ 16,
180
+ 32,
181
+ 64
182
+ ],
183
+ "num_return_sequences": 1,
184
+ "output_attentions": false,
185
+ "output_hidden_states": false,
186
+ "output_scores": false,
187
+ "pad_token_id": null,
188
+ "patch_padding": [
189
+ 3,
190
+ 1,
191
+ 1,
192
+ 1
193
+ ],
194
+ "patch_prenorm": [
195
+ false,
196
+ true,
197
+ true,
198
+ true
199
+ ],
200
+ "patch_size": [
201
+ 7,
202
+ 3,
203
+ 3,
204
+ 3
205
+ ],
206
+ "patch_stride": [
207
+ 4,
208
+ 2,
209
+ 2,
210
+ 2
211
+ ],
212
+ "prefix": null,
213
+ "problem_type": null,
214
+ "projection_dim": 1024,
215
+ "pruned_heads": {},
216
+ "remove_invalid_values": false,
217
+ "repetition_penalty": 1.0,
218
+ "return_dict": true,
219
+ "return_dict_in_generate": false,
220
+ "sep_token_id": null,
221
+ "suppress_tokens": null,
222
+ "task_specific_params": null,
223
+ "temperature": 1.0,
224
+ "tf_legacy_loss": false,
225
+ "tie_encoder_decoder": false,
226
+ "tie_word_embeddings": true,
227
+ "tokenizer_class": null,
228
+ "top_k": 50,
229
+ "top_p": 1.0,
230
+ "torch_dtype": null,
231
+ "torchscript": false,
232
+ "typical_p": 1.0,
233
+ "use_bfloat16": false,
234
+ "visual_temporal_embedding": {
235
+ "max_temporal_embeddings": 100,
236
+ "type": "COSINE"
237
+ },
238
+ "window_size": 12
239
+ },
240
+ "vocab_size": 51289
241
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bb4409b677a58ae1112ffa4bfa3e0ed30cd2818836d378bf51f4e45ce1ebac0
3
+ size 2515217640
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38b83d8b61303040b6364fe111f87d62ae3f18e630baf8fe95440eaa15db4315
3
+ size 4984