hf-transformers-bot commited on
Commit
03d6975
·
verified ·
1 Parent(s): 1f874bb

Update tiny models for PI0ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +130 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "PI0ForConditionalGeneration"
4
+ ],
5
+ "chunk_size": 4,
6
+ "dit_config": {
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 2,
10
+ "eos_token_id": 1,
11
+ "head_dim": 8,
12
+ "hidden_act": "gelu_pytorch_tanh",
13
+ "hidden_size": 16,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 32,
16
+ "is_causal": true,
17
+ "max_position_embeddings": 8192,
18
+ "model_type": "gemma",
19
+ "num_attention_heads": 2,
20
+ "num_hidden_layers": 2,
21
+ "num_key_value_heads": 1,
22
+ "pad_token_id": 0,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_parameters": {
25
+ "rope_theta": 10000.0,
26
+ "rope_type": "default"
27
+ },
28
+ "tie_word_embeddings": true,
29
+ "use_bidirectional_attention": true,
30
+ "use_cache": true,
31
+ "vocab_size": 128
32
+ },
33
+ "dtype": "float32",
34
+ "loss_reduction": "mean",
35
+ "max_action_dim": 8,
36
+ "max_period": 4.0,
37
+ "max_state_dim": 8,
38
+ "min_period": 0.004,
39
+ "model_type": "pi0",
40
+ "num_inference_steps": 3,
41
+ "time_sampling_beta_alpha": 1.5,
42
+ "time_sampling_beta_beta": 1.0,
43
+ "time_sampling_offset": 0.001,
44
+ "time_sampling_scale": 0.999,
45
+ "transformers_version": "5.16.0.dev0",
46
+ "vlm_config": {
47
+ "hidden_size": 2048,
48
+ "image_token_index": 127,
49
+ "model_type": "paligemma",
50
+ "projection_dim": 16,
51
+ "text_config": {
52
+ "_name_or_path": "",
53
+ "architectures": null,
54
+ "attention_bias": false,
55
+ "attention_dropout": 0.0,
56
+ "bos_token_id": 2,
57
+ "chunk_size_feed_forward": 0,
58
+ "dtype": null,
59
+ "eos_token_id": 1,
60
+ "head_dim": 8,
61
+ "hidden_act": "gelu_pytorch_tanh",
62
+ "hidden_size": 16,
63
+ "id2label": {
64
+ "0": "LABEL_0",
65
+ "1": "LABEL_1"
66
+ },
67
+ "initializer_range": 0.02,
68
+ "intermediate_size": 32,
69
+ "is_encoder_decoder": false,
70
+ "label2id": {
71
+ "LABEL_0": 0,
72
+ "LABEL_1": 1
73
+ },
74
+ "max_position_embeddings": 8192,
75
+ "model_type": "gemma",
76
+ "num_attention_heads": 2,
77
+ "num_hidden_layers": 2,
78
+ "num_image_tokens": 4,
79
+ "num_key_value_heads": 1,
80
+ "output_attentions": false,
81
+ "output_hidden_states": false,
82
+ "pad_token_id": 0,
83
+ "problem_type": null,
84
+ "return_dict": true,
85
+ "rms_norm_eps": 1e-06,
86
+ "rope_parameters": {
87
+ "rope_theta": 10000.0,
88
+ "rope_type": "default"
89
+ },
90
+ "tie_word_embeddings": true,
91
+ "use_bidirectional_attention": true,
92
+ "use_cache": true,
93
+ "vocab_size": 128
94
+ },
95
+ "tie_word_embeddings": true,
96
+ "vision_config": {
97
+ "_name_or_path": "",
98
+ "architectures": null,
99
+ "attention_dropout": 0.0,
100
+ "chunk_size_feed_forward": 0,
101
+ "dtype": null,
102
+ "hidden_act": "gelu_pytorch_tanh",
103
+ "hidden_size": 16,
104
+ "id2label": {
105
+ "0": "LABEL_0",
106
+ "1": "LABEL_1"
107
+ },
108
+ "image_size": 8,
109
+ "intermediate_size": 32,
110
+ "is_encoder_decoder": false,
111
+ "label2id": {
112
+ "LABEL_0": 0,
113
+ "LABEL_1": 1
114
+ },
115
+ "layer_norm_eps": 1e-06,
116
+ "model_type": "siglip_vision_model",
117
+ "num_attention_heads": 2,
118
+ "num_channels": 3,
119
+ "num_hidden_layers": 1,
120
+ "output_attentions": false,
121
+ "output_hidden_states": false,
122
+ "patch_size": 4,
123
+ "problem_type": null,
124
+ "projection_dim": 16,
125
+ "return_dict": true,
126
+ "vision_use_head": false
127
+ },
128
+ "vocab_size": 257152
129
+ }
130
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0afc3326ab4782caf2cd7226def8db5aaeb4dc92e1292cbc009a99ed7848cecf
3
+ size 82208