TomasFAV commited on
Commit
290ca9a
·
verified ·
1 Parent(s): 1f5c115

Training in progress, epoch 1

Browse files
config.json CHANGED
@@ -12,48 +12,85 @@
12
  "model_type": "pix2struct",
13
  "pad_token_id": 0,
14
  "text_config": {
 
 
 
15
  "d_ff": 2048,
16
  "d_kv": 64,
 
17
  "dense_act_fn": "gelu_new",
18
  "dropout_rate": 0.1,
19
  "dtype": "float32",
20
  "encoder_hidden_size": 768,
 
 
21
  "hidden_size": 768,
22
  "initializer_factor": 1.0,
23
  "initializer_range": 0.02,
 
24
  "is_encoder_decoder": true,
25
  "layer_norm_epsilon": 1e-06,
26
  "model_type": "pix2struct_text_model",
27
  "num_heads": 12,
28
  "num_layers": 12,
 
 
 
29
  "relative_attention_max_distance": 128,
30
  "relative_attention_num_buckets": 32,
 
 
 
 
 
 
 
 
31
  "use_cache": false,
32
  "vocab_size": 50432
33
  },
34
  "tie_word_embeddings": false,
35
- "transformers_version": "4.57.6",
 
36
  "vision_config": {
 
37
  "attention_dropout": 0.0,
 
 
38
  "d_ff": 2048,
39
  "d_kv": 64,
 
40
  "dense_act_fn": "gelu_new",
41
  "dropout_rate": 0.0,
42
  "dtype": "float32",
 
 
43
  "hidden_size": 768,
44
  "initializer_factor": 1.0,
45
  "initializer_range": 0.02,
 
46
  "layer_norm_bias": false,
47
  "layer_norm_eps": 1e-06,
48
  "model_type": "pix2struct_vision_model",
49
  "num_attention_heads": 12,
50
  "num_channels": 3,
51
  "num_hidden_layers": 12,
 
52
  "patch_embed_hidden_size": 768,
53
  "patch_size": 16,
 
54
  "projection_dim": 768,
 
55
  "relative_attention_max_distance": 128,
56
  "relative_attention_num_buckets": 32,
57
- "seq_len": 4096
 
 
 
 
 
 
 
 
58
  }
59
  }
 
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 CHANGED
@@ -1,10 +1,37 @@
1
  {
2
- "_from_model_config": true,
 
 
3
  "decoder_start_token_id": 0,
4
- "eos_token_id": [
5
- 1
6
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  "pad_token_id": 0,
8
- "transformers_version": "4.57.6",
 
 
 
 
 
 
 
 
9
  "use_cache": false
10
  }
 
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
+ "length_penalty": 1.0,
15
+ "max_length": 20,
16
+ "min_length": 0,
17
+ "no_repeat_ngram_size": 0,
18
+ "num_assistant_tokens": 20,
19
+ "num_assistant_tokens_schedule": "constant",
20
+ "num_beam_groups": 1,
21
+ "num_beams": 1,
22
+ "num_return_sequences": 1,
23
+ "output_attentions": false,
24
+ "output_hidden_states": false,
25
+ "output_scores": false,
26
  "pad_token_id": 0,
27
+ "remove_invalid_values": false,
28
+ "repetition_penalty": 1.0,
29
+ "return_dict_in_generate": false,
30
+ "target_lookbehind": 10,
31
+ "temperature": 1.0,
32
+ "top_k": 50,
33
+ "top_p": 1.0,
34
+ "transformers_version": "5.0.0",
35
+ "typical_p": 1.0,
36
  "use_cache": false
37
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3940f7c9aedc1462944844240007f93a9408d44e91b2ad6976f1a90fdd2e7824
3
  size 1130333048
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d1baccf6a548300f308e5cf73aa1f66e08d22b16b0f08df9ce350b54a27c80e
3
  size 1130333048
runs/Mar14_20-34-13_5ae8aa8c2e3d/events.out.tfevents.1773520453.5ae8aa8c2e3d.3669.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c000dbf3befb9e059818c223eafef55afbf1124e9c29a8fb1002dfb083e815a9
3
+ size 12726
runs/Mar14_20-43-28_5ae8aa8c2e3d/events.out.tfevents.1773521008.5ae8aa8c2e3d.3669.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70532a26f82a1c971b13f0da71451057b6fcf5c4fd1116399cb75ac4f870e77c
3
+ size 13043
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3acef359c1c419af021199467e761a7dd71aef22ce5c5878809a5b738e9b8ca4
3
- size 6033
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b096720e0ea837863085e7628764c14d82809b7fd00afeb91e0ea441d55be28
3
+ size 5393