Training in progress, epoch 1
Browse files
config.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Pix2StructForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"decoder_start_token_id": 0,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
+
"eos_token_id": 1,
|
| 8 |
+
"initializer_factor": 1.0,
|
| 9 |
+
"initializer_range": 0.02,
|
| 10 |
+
"is_encoder_decoder": true,
|
| 11 |
+
"is_vqa": true,
|
| 12 |
+
"model_type": "pix2struct",
|
| 13 |
+
"pad_token_id": 0,
|
| 14 |
+
"text_config": {
|
| 15 |
+
"add_cross_attention": false,
|
| 16 |
+
"bos_token_id": null,
|
| 17 |
+
"cross_attention_hidden_size": null,
|
| 18 |
+
"d_ff": 2048,
|
| 19 |
+
"d_kv": 64,
|
| 20 |
+
"decoder_start_token_id": 0,
|
| 21 |
+
"dense_act_fn": "gelu_new",
|
| 22 |
+
"dropout_rate": 0.1,
|
| 23 |
+
"dtype": "float32",
|
| 24 |
+
"encoder_hidden_size": 768,
|
| 25 |
+
"eos_token_id": 1,
|
| 26 |
+
"finetuning_task": null,
|
| 27 |
+
"hidden_size": 768,
|
| 28 |
+
"initializer_factor": 1.0,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"is_decoder": true,
|
| 31 |
+
"is_encoder_decoder": true,
|
| 32 |
+
"layer_norm_epsilon": 1e-06,
|
| 33 |
+
"model_type": "pix2struct_text_model",
|
| 34 |
+
"num_heads": 12,
|
| 35 |
+
"num_layers": 12,
|
| 36 |
+
"pad_token_id": 0,
|
| 37 |
+
"prefix": null,
|
| 38 |
+
"pruned_heads": {},
|
| 39 |
+
"relative_attention_max_distance": 128,
|
| 40 |
+
"relative_attention_num_buckets": 32,
|
| 41 |
+
"sep_token_id": null,
|
| 42 |
+
"task_specific_params": null,
|
| 43 |
+
"tf_legacy_loss": false,
|
| 44 |
+
"tie_encoder_decoder": false,
|
| 45 |
+
"tie_word_embeddings": false,
|
| 46 |
+
"tokenizer_class": null,
|
| 47 |
+
"torchscript": false,
|
| 48 |
+
"use_bfloat16": false,
|
| 49 |
+
"use_cache": false,
|
| 50 |
+
"vocab_size": 50432
|
| 51 |
+
},
|
| 52 |
+
"tie_word_embeddings": false,
|
| 53 |
+
"transformers_version": "5.0.0",
|
| 54 |
+
"use_cache": false,
|
| 55 |
+
"vision_config": {
|
| 56 |
+
"add_cross_attention": false,
|
| 57 |
+
"attention_dropout": 0.0,
|
| 58 |
+
"bos_token_id": null,
|
| 59 |
+
"cross_attention_hidden_size": null,
|
| 60 |
+
"d_ff": 2048,
|
| 61 |
+
"d_kv": 64,
|
| 62 |
+
"decoder_start_token_id": null,
|
| 63 |
+
"dense_act_fn": "gelu_new",
|
| 64 |
+
"dropout_rate": 0.0,
|
| 65 |
+
"dtype": "float32",
|
| 66 |
+
"eos_token_id": null,
|
| 67 |
+
"finetuning_task": null,
|
| 68 |
+
"hidden_size": 768,
|
| 69 |
+
"initializer_factor": 1.0,
|
| 70 |
+
"initializer_range": 0.02,
|
| 71 |
+
"is_decoder": false,
|
| 72 |
+
"layer_norm_bias": false,
|
| 73 |
+
"layer_norm_eps": 1e-06,
|
| 74 |
+
"model_type": "pix2struct_vision_model",
|
| 75 |
+
"num_attention_heads": 12,
|
| 76 |
+
"num_channels": 3,
|
| 77 |
+
"num_hidden_layers": 12,
|
| 78 |
+
"pad_token_id": null,
|
| 79 |
+
"patch_embed_hidden_size": 768,
|
| 80 |
+
"patch_size": 16,
|
| 81 |
+
"prefix": null,
|
| 82 |
+
"projection_dim": 768,
|
| 83 |
+
"pruned_heads": {},
|
| 84 |
+
"relative_attention_max_distance": 128,
|
| 85 |
+
"relative_attention_num_buckets": 32,
|
| 86 |
+
"sep_token_id": null,
|
| 87 |
+
"seq_len": 4096,
|
| 88 |
+
"task_specific_params": null,
|
| 89 |
+
"tf_legacy_loss": false,
|
| 90 |
+
"tie_encoder_decoder": false,
|
| 91 |
+
"tie_word_embeddings": true,
|
| 92 |
+
"tokenizer_class": null,
|
| 93 |
+
"torchscript": false,
|
| 94 |
+
"use_bfloat16": false
|
| 95 |
+
}
|
| 96 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": false,
|
| 3 |
+
"assistant_confidence_threshold": 0.4,
|
| 4 |
+
"assistant_lookbehind": 10,
|
| 5 |
+
"decoder_start_token_id": 0,
|
| 6 |
+
"diversity_penalty": 0.0,
|
| 7 |
+
"do_sample": false,
|
| 8 |
+
"early_stopping": false,
|
| 9 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 10 |
+
"encoder_repetition_penalty": 1.0,
|
| 11 |
+
"eos_token_id": 1,
|
| 12 |
+
"epsilon_cutoff": 0.0,
|
| 13 |
+
"eta_cutoff": 0.0,
|
| 14 |
+
"is_vqa": true,
|
| 15 |
+
"length_penalty": 1.0,
|
| 16 |
+
"max_length": 20,
|
| 17 |
+
"min_length": 0,
|
| 18 |
+
"no_repeat_ngram_size": 0,
|
| 19 |
+
"num_assistant_tokens": 20,
|
| 20 |
+
"num_assistant_tokens_schedule": "constant",
|
| 21 |
+
"num_beam_groups": 1,
|
| 22 |
+
"num_beams": 1,
|
| 23 |
+
"num_return_sequences": 1,
|
| 24 |
+
"output_attentions": false,
|
| 25 |
+
"output_hidden_states": false,
|
| 26 |
+
"output_scores": false,
|
| 27 |
+
"pad_token_id": 0,
|
| 28 |
+
"remove_invalid_values": false,
|
| 29 |
+
"repetition_penalty": 1.0,
|
| 30 |
+
"return_dict_in_generate": false,
|
| 31 |
+
"target_lookbehind": 10,
|
| 32 |
+
"temperature": 1.0,
|
| 33 |
+
"top_k": 50,
|
| 34 |
+
"top_p": 1.0,
|
| 35 |
+
"transformers_version": "5.0.0",
|
| 36 |
+
"typical_p": 1.0,
|
| 37 |
+
"use_cache": false
|
| 38 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5901813f540d1135bfc0b5c5315a5acb2a7d6a9a94958d9fa4c16cf3f663553d
|
| 3 |
+
size 1130333048
|
runs/Mar14_23-53-02_77b291cf41b2/events.out.tfevents.1773532382.77b291cf41b2.903.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53121787ea952993127fb993230b9d9fce792ed453b7b2e2d4605bfd073fb221
|
| 3 |
+
size 8206
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:322207a7e24e485920a18a55467921f09607d5fe20761065d5dce3794e54c722
|
| 3 |
+
size 5393
|