AlexeyRyzhikov commited on
Commit
6c1cc0a
1 Parent(s): 13cb3bb

Training done

Browse files
Files changed (3) hide show
  1. config.json +38 -0
  2. generation_config.json +8 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/pix2struct-base",
3
+ "architectures": [
4
+ "Pix2StructForConditionalGeneration"
5
+ ],
6
+ "decoder_start_token_id": 0,
7
+ "eos_token_id": 1,
8
+ "initializer_factor": 1.0,
9
+ "initializer_range": 0.02,
10
+ "is_encoder_decoder": true,
11
+ "is_vqa": false,
12
+ "model_type": "pix2struct",
13
+ "pad_token_id": 0,
14
+ "text_config": {
15
+ "_attn_implementation_autoset": true,
16
+ "dropout_rate": 0.2,
17
+ "encoder_hidden_size": 768,
18
+ "initializer_range": 0.02,
19
+ "is_encoder_decoder": true,
20
+ "model_type": "pix2struct_text_model",
21
+ "vocab_size": 50388
22
+ },
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.47.0.dev0",
26
+ "vision_config": {
27
+ "_attn_implementation_autoset": true,
28
+ "attention_dropout": 0.2,
29
+ "dropout_rate": 0.2,
30
+ "hidden_dropout_prob": 0.2,
31
+ "initializer_range": 0.02,
32
+ "layer_norm_bias": false,
33
+ "model_type": "pix2struct_vision_model",
34
+ "num_channels": 3,
35
+ "patch_size": 16,
36
+ "projection_dim": 768
37
+ }
38
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.47.0.dev0",
7
+ "use_cache": false
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6100dbf5e06878e09587e4e55473c48b802529c954e5bc3b075e976627c654a
3
+ size 1130062712