gyrojeff commited on
Commit
a49af01
·
verified ·
1 Parent(s): 21a38e4

Upload HyperstrokePipeline

Browse files
README.md ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: diffusers
3
+ ---
4
+
5
+ # Model Card for Model ID
6
+
7
+ <!-- Provide a quick summary of what the model is/does. -->
8
+
9
+
10
+
11
+ ## Model Details
12
+
13
+ ### Model Description
14
+
15
+ <!-- Provide a longer summary of what this model is. -->
16
+
17
+ This is the model card of a 🧨 diffusers pipeline that has been pushed on the Hub. This model card has been automatically generated.
18
+
19
+ - **Developed by:** [More Information Needed]
20
+ - **Funded by [optional]:** [More Information Needed]
21
+ - **Shared by [optional]:** [More Information Needed]
22
+ - **Model type:** [More Information Needed]
23
+ - **Language(s) (NLP):** [More Information Needed]
24
+ - **License:** [More Information Needed]
25
+ - **Finetuned from model [optional]:** [More Information Needed]
26
+
27
+ ### Model Sources [optional]
28
+
29
+ <!-- Provide the basic links for the model. -->
30
+
31
+ - **Repository:** [More Information Needed]
32
+ - **Paper [optional]:** [More Information Needed]
33
+ - **Demo [optional]:** [More Information Needed]
34
+
35
+ ## Uses
36
+
37
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
38
+
39
+ ### Direct Use
40
+
41
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
42
+
43
+ [More Information Needed]
44
+
45
+ ### Downstream Use [optional]
46
+
47
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Out-of-Scope Use
52
+
53
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
54
+
55
+ [More Information Needed]
56
+
57
+ ## Bias, Risks, and Limitations
58
+
59
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ### Recommendations
64
+
65
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
66
+
67
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
68
+
69
+ ## How to Get Started with the Model
70
+
71
+ Use the code below to get started with the model.
72
+
73
+ [More Information Needed]
74
+
75
+ ## Training Details
76
+
77
+ ### Training Data
78
+
79
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
80
+
81
+ [More Information Needed]
82
+
83
+ ### Training Procedure
84
+
85
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
86
+
87
+ #### Preprocessing [optional]
88
+
89
+ [More Information Needed]
90
+
91
+
92
+ #### Training Hyperparameters
93
+
94
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
95
+
96
+ #### Speeds, Sizes, Times [optional]
97
+
98
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
99
+
100
+ [More Information Needed]
101
+
102
+ ## Evaluation
103
+
104
+ <!-- This section describes the evaluation protocols and provides the results. -->
105
+
106
+ ### Testing Data, Factors & Metrics
107
+
108
+ #### Testing Data
109
+
110
+ <!-- This should link to a Dataset Card if possible. -->
111
+
112
+ [More Information Needed]
113
+
114
+ #### Factors
115
+
116
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Metrics
121
+
122
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
123
+
124
+ [More Information Needed]
125
+
126
+ ### Results
127
+
128
+ [More Information Needed]
129
+
130
+ #### Summary
131
+
132
+
133
+
134
+ ## Model Examination [optional]
135
+
136
+ <!-- Relevant interpretability work for the model goes here -->
137
+
138
+ [More Information Needed]
139
+
140
+ ## Environmental Impact
141
+
142
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
143
+
144
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
145
+
146
+ - **Hardware Type:** [More Information Needed]
147
+ - **Hours used:** [More Information Needed]
148
+ - **Cloud Provider:** [More Information Needed]
149
+ - **Compute Region:** [More Information Needed]
150
+ - **Carbon Emitted:** [More Information Needed]
151
+
152
+ ## Technical Specifications [optional]
153
+
154
+ ### Model Architecture and Objective
155
+
156
+ [More Information Needed]
157
+
158
+ ### Compute Infrastructure
159
+
160
+ [More Information Needed]
161
+
162
+ #### Hardware
163
+
164
+ [More Information Needed]
165
+
166
+ #### Software
167
+
168
+ [More Information Needed]
169
+
170
+ ## Citation [optional]
171
+
172
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
173
+
174
+ **BibTeX:**
175
+
176
+ [More Information Needed]
177
+
178
+ **APA:**
179
+
180
+ [More Information Needed]
181
+
182
+ ## Glossary [optional]
183
+
184
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
185
+
186
+ [More Information Needed]
187
+
188
+ ## More Information [optional]
189
+
190
+ [More Information Needed]
191
+
192
+ ## Model Card Authors [optional]
193
+
194
+ [More Information Needed]
195
+
196
+ ## Model Card Contact
197
+
198
+ [More Information Needed]
hyperstroke_config/config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "HyperstrokeConfig",
3
+ "_diffusers_version": "0.32.2",
4
+ "bbox_vocab_size": 32,
5
+ "num_bbox_token": 4,
6
+ "num_codebook_token": 64,
7
+ "pretrained_canvas_processor": "google/vit-base-patch16-224-in21k",
8
+ "pretrained_control_processor": "openai/clip-vit-base-patch32"
9
+ }
model_index.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "HyperstrokePipeline",
3
+ "_diffusers_version": "0.32.2",
4
+ "hyperstroke_config": [
5
+ "mashiro.hyperstroke.modules.config",
6
+ "HyperstrokeConfig"
7
+ ],
8
+ "transformer": [
9
+ "mashiro.hyperstroke.modules.transformer.modeling_clip_control_vision_encoder_decoder",
10
+ "CLIPControlVisionEncoderDecoderModel"
11
+ ],
12
+ "vqgan_model": [
13
+ "mashiro.hyperstroke.modules.vqgan.model",
14
+ "VQModel"
15
+ ]
16
+ }
transformer/config.json ADDED
@@ -0,0 +1,409 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "project-mashiro/mashiro",
3
+ "architectures": [
4
+ "CLIPControlVisionEncoderDecoderModel"
5
+ ],
6
+ "control": {
7
+ "_attn_implementation_autoset": false,
8
+ "_name_or_path": "openai/clip-vit-base-patch32",
9
+ "add_cross_attention": false,
10
+ "architectures": [
11
+ "CLIPModel"
12
+ ],
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "diversity_penalty": 0.0,
20
+ "do_sample": false,
21
+ "early_stopping": false,
22
+ "encoder_no_repeat_ngram_size": 0,
23
+ "eos_token_id": null,
24
+ "exponential_decay_length_penalty": null,
25
+ "finetuning_task": null,
26
+ "forced_bos_token_id": null,
27
+ "forced_eos_token_id": null,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1"
31
+ },
32
+ "initializer_factor": 1.0,
33
+ "is_decoder": false,
34
+ "is_encoder_decoder": false,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1
38
+ },
39
+ "length_penalty": 1.0,
40
+ "logit_scale_init_value": 2.6592,
41
+ "max_length": 20,
42
+ "min_length": 0,
43
+ "model_type": "clip",
44
+ "no_repeat_ngram_size": 0,
45
+ "num_beam_groups": 1,
46
+ "num_beams": 1,
47
+ "num_return_sequences": 1,
48
+ "output_attentions": false,
49
+ "output_hidden_states": false,
50
+ "output_scores": false,
51
+ "pad_token_id": null,
52
+ "prefix": null,
53
+ "problem_type": null,
54
+ "projection_dim": 512,
55
+ "pruned_heads": {},
56
+ "remove_invalid_values": false,
57
+ "repetition_penalty": 1.0,
58
+ "return_dict": true,
59
+ "return_dict_in_generate": false,
60
+ "sep_token_id": null,
61
+ "suppress_tokens": null,
62
+ "task_specific_params": null,
63
+ "temperature": 1.0,
64
+ "text_config": {
65
+ "_attn_implementation_autoset": false,
66
+ "_name_or_path": "",
67
+ "add_cross_attention": false,
68
+ "architectures": null,
69
+ "attention_dropout": 0.0,
70
+ "bad_words_ids": null,
71
+ "begin_suppress_tokens": null,
72
+ "bos_token_id": 0,
73
+ "chunk_size_feed_forward": 0,
74
+ "cross_attention_hidden_size": null,
75
+ "decoder_start_token_id": null,
76
+ "diversity_penalty": 0.0,
77
+ "do_sample": false,
78
+ "dropout": 0.0,
79
+ "early_stopping": false,
80
+ "encoder_no_repeat_ngram_size": 0,
81
+ "eos_token_id": 2,
82
+ "exponential_decay_length_penalty": null,
83
+ "finetuning_task": null,
84
+ "forced_bos_token_id": null,
85
+ "forced_eos_token_id": null,
86
+ "hidden_act": "quick_gelu",
87
+ "hidden_size": 512,
88
+ "id2label": {
89
+ "0": "LABEL_0",
90
+ "1": "LABEL_1"
91
+ },
92
+ "initializer_factor": 1.0,
93
+ "initializer_range": 0.02,
94
+ "intermediate_size": 2048,
95
+ "is_decoder": false,
96
+ "is_encoder_decoder": false,
97
+ "label2id": {
98
+ "LABEL_0": 0,
99
+ "LABEL_1": 1
100
+ },
101
+ "layer_norm_eps": 1e-05,
102
+ "length_penalty": 1.0,
103
+ "max_length": 20,
104
+ "max_position_embeddings": 77,
105
+ "min_length": 0,
106
+ "model_type": "clip_text_model",
107
+ "no_repeat_ngram_size": 0,
108
+ "num_attention_heads": 8,
109
+ "num_beam_groups": 1,
110
+ "num_beams": 1,
111
+ "num_hidden_layers": 12,
112
+ "num_return_sequences": 1,
113
+ "output_attentions": false,
114
+ "output_hidden_states": false,
115
+ "output_scores": false,
116
+ "pad_token_id": 1,
117
+ "prefix": null,
118
+ "problem_type": null,
119
+ "projection_dim": 512,
120
+ "pruned_heads": {},
121
+ "remove_invalid_values": false,
122
+ "repetition_penalty": 1.0,
123
+ "return_dict": true,
124
+ "return_dict_in_generate": false,
125
+ "sep_token_id": null,
126
+ "suppress_tokens": null,
127
+ "task_specific_params": null,
128
+ "temperature": 1.0,
129
+ "tf_legacy_loss": false,
130
+ "tie_encoder_decoder": false,
131
+ "tie_word_embeddings": true,
132
+ "tokenizer_class": null,
133
+ "top_k": 50,
134
+ "top_p": 1.0,
135
+ "torch_dtype": null,
136
+ "torchscript": false,
137
+ "typical_p": 1.0,
138
+ "use_bfloat16": false,
139
+ "vocab_size": 49408
140
+ },
141
+ "tf_legacy_loss": false,
142
+ "tie_encoder_decoder": false,
143
+ "tie_word_embeddings": true,
144
+ "tokenizer_class": null,
145
+ "top_k": 50,
146
+ "top_p": 1.0,
147
+ "torch_dtype": null,
148
+ "torchscript": false,
149
+ "typical_p": 1.0,
150
+ "use_bfloat16": false,
151
+ "vision_config": {
152
+ "_attn_implementation_autoset": false,
153
+ "_name_or_path": "",
154
+ "add_cross_attention": false,
155
+ "architectures": null,
156
+ "attention_dropout": 0.0,
157
+ "bad_words_ids": null,
158
+ "begin_suppress_tokens": null,
159
+ "bos_token_id": null,
160
+ "chunk_size_feed_forward": 0,
161
+ "cross_attention_hidden_size": null,
162
+ "decoder_start_token_id": null,
163
+ "diversity_penalty": 0.0,
164
+ "do_sample": false,
165
+ "dropout": 0.0,
166
+ "early_stopping": false,
167
+ "encoder_no_repeat_ngram_size": 0,
168
+ "eos_token_id": null,
169
+ "exponential_decay_length_penalty": null,
170
+ "finetuning_task": null,
171
+ "forced_bos_token_id": null,
172
+ "forced_eos_token_id": null,
173
+ "hidden_act": "quick_gelu",
174
+ "hidden_size": 768,
175
+ "id2label": {
176
+ "0": "LABEL_0",
177
+ "1": "LABEL_1"
178
+ },
179
+ "image_size": 224,
180
+ "initializer_factor": 1.0,
181
+ "initializer_range": 0.02,
182
+ "intermediate_size": 3072,
183
+ "is_decoder": false,
184
+ "is_encoder_decoder": false,
185
+ "label2id": {
186
+ "LABEL_0": 0,
187
+ "LABEL_1": 1
188
+ },
189
+ "layer_norm_eps": 1e-05,
190
+ "length_penalty": 1.0,
191
+ "max_length": 20,
192
+ "min_length": 0,
193
+ "model_type": "clip_vision_model",
194
+ "no_repeat_ngram_size": 0,
195
+ "num_attention_heads": 12,
196
+ "num_beam_groups": 1,
197
+ "num_beams": 1,
198
+ "num_channels": 3,
199
+ "num_hidden_layers": 12,
200
+ "num_return_sequences": 1,
201
+ "output_attentions": false,
202
+ "output_hidden_states": false,
203
+ "output_scores": false,
204
+ "pad_token_id": null,
205
+ "patch_size": 32,
206
+ "prefix": null,
207
+ "problem_type": null,
208
+ "projection_dim": 512,
209
+ "pruned_heads": {},
210
+ "remove_invalid_values": false,
211
+ "repetition_penalty": 1.0,
212
+ "return_dict": true,
213
+ "return_dict_in_generate": false,
214
+ "sep_token_id": null,
215
+ "suppress_tokens": null,
216
+ "task_specific_params": null,
217
+ "temperature": 1.0,
218
+ "tf_legacy_loss": false,
219
+ "tie_encoder_decoder": false,
220
+ "tie_word_embeddings": true,
221
+ "tokenizer_class": null,
222
+ "top_k": 50,
223
+ "top_p": 1.0,
224
+ "torch_dtype": null,
225
+ "torchscript": false,
226
+ "typical_p": 1.0,
227
+ "use_bfloat16": false
228
+ }
229
+ },
230
+ "control_size": 512,
231
+ "decoder": {
232
+ "_attn_implementation_autoset": false,
233
+ "_name_or_path": "/tmp/tmpk_17mg6e",
234
+ "activation_function": "gelu_new",
235
+ "add_cross_attention": true,
236
+ "architectures": [
237
+ "GPT2LMHeadModel"
238
+ ],
239
+ "attn_pdrop": 0.1,
240
+ "bad_words_ids": null,
241
+ "begin_suppress_tokens": null,
242
+ "bos_token_id": 2081,
243
+ "chunk_size_feed_forward": 0,
244
+ "cross_attention_hidden_size": null,
245
+ "decoder_start_token_id": null,
246
+ "diversity_penalty": 0.0,
247
+ "do_sample": false,
248
+ "early_stopping": false,
249
+ "embd_pdrop": 0.1,
250
+ "encoder_no_repeat_ngram_size": 0,
251
+ "eos_token_id": 2082,
252
+ "exponential_decay_length_penalty": null,
253
+ "finetuning_task": null,
254
+ "forced_bos_token_id": null,
255
+ "forced_eos_token_id": null,
256
+ "id2label": {
257
+ "0": "LABEL_0",
258
+ "1": "LABEL_1"
259
+ },
260
+ "initializer_range": 0.02,
261
+ "is_decoder": true,
262
+ "is_encoder_decoder": false,
263
+ "label2id": {
264
+ "LABEL_0": 0,
265
+ "LABEL_1": 1
266
+ },
267
+ "layer_norm_epsilon": 1e-05,
268
+ "length_penalty": 1.0,
269
+ "max_length": 20,
270
+ "min_length": 0,
271
+ "model_type": "gpt2",
272
+ "n_ctx": 817,
273
+ "n_embd": 1024,
274
+ "n_head": 16,
275
+ "n_inner": null,
276
+ "n_layer": 24,
277
+ "n_positions": 817,
278
+ "no_repeat_ngram_size": 0,
279
+ "num_beam_groups": 1,
280
+ "num_beams": 1,
281
+ "num_return_sequences": 1,
282
+ "output_attentions": false,
283
+ "output_hidden_states": false,
284
+ "output_scores": false,
285
+ "pad_token_id": null,
286
+ "prefix": null,
287
+ "problem_type": null,
288
+ "pruned_heads": {},
289
+ "remove_invalid_values": false,
290
+ "reorder_and_upcast_attn": false,
291
+ "repetition_penalty": 1.0,
292
+ "resid_pdrop": 0.1,
293
+ "return_dict": true,
294
+ "return_dict_in_generate": false,
295
+ "scale_attn_by_inverse_layer_idx": false,
296
+ "scale_attn_weights": true,
297
+ "sep_token_id": null,
298
+ "summary_activation": null,
299
+ "summary_first_dropout": 0.1,
300
+ "summary_proj_to_labels": true,
301
+ "summary_type": "cls_index",
302
+ "summary_use_proj": true,
303
+ "suppress_tokens": null,
304
+ "task_specific_params": null,
305
+ "temperature": 1.0,
306
+ "tf_legacy_loss": false,
307
+ "tie_encoder_decoder": false,
308
+ "tie_word_embeddings": true,
309
+ "tokenizer_class": null,
310
+ "top_k": 50,
311
+ "top_p": 1.0,
312
+ "torch_dtype": "float32",
313
+ "torchscript": false,
314
+ "typical_p": 1.0,
315
+ "use_bfloat16": false,
316
+ "use_cache": true,
317
+ "vocab_size": 2084
318
+ },
319
+ "decoder_start_token_id": 2081,
320
+ "encoder": {
321
+ "_attn_implementation_autoset": false,
322
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
323
+ "add_cross_attention": false,
324
+ "architectures": [
325
+ "ViTModel"
326
+ ],
327
+ "attention_probs_dropout_prob": 0.0,
328
+ "bad_words_ids": null,
329
+ "begin_suppress_tokens": null,
330
+ "bos_token_id": null,
331
+ "chunk_size_feed_forward": 0,
332
+ "cross_attention_hidden_size": null,
333
+ "decoder_start_token_id": null,
334
+ "diversity_penalty": 0.0,
335
+ "do_sample": false,
336
+ "early_stopping": false,
337
+ "encoder_no_repeat_ngram_size": 0,
338
+ "encoder_stride": 16,
339
+ "eos_token_id": null,
340
+ "exponential_decay_length_penalty": null,
341
+ "finetuning_task": null,
342
+ "forced_bos_token_id": null,
343
+ "forced_eos_token_id": null,
344
+ "hidden_act": "gelu",
345
+ "hidden_dropout_prob": 0.0,
346
+ "hidden_size": 768,
347
+ "id2label": {
348
+ "0": "LABEL_0",
349
+ "1": "LABEL_1"
350
+ },
351
+ "image_size": 224,
352
+ "initializer_range": 0.02,
353
+ "intermediate_size": 3072,
354
+ "is_decoder": false,
355
+ "is_encoder_decoder": false,
356
+ "label2id": {
357
+ "LABEL_0": 0,
358
+ "LABEL_1": 1
359
+ },
360
+ "layer_norm_eps": 1e-12,
361
+ "length_penalty": 1.0,
362
+ "max_length": 20,
363
+ "min_length": 0,
364
+ "model_type": "vit",
365
+ "no_repeat_ngram_size": 0,
366
+ "num_attention_heads": 12,
367
+ "num_beam_groups": 1,
368
+ "num_beams": 1,
369
+ "num_channels": 3,
370
+ "num_hidden_layers": 12,
371
+ "num_return_sequences": 1,
372
+ "output_attentions": false,
373
+ "output_hidden_states": false,
374
+ "output_scores": false,
375
+ "pad_token_id": null,
376
+ "patch_size": 16,
377
+ "prefix": null,
378
+ "problem_type": null,
379
+ "pruned_heads": {},
380
+ "qkv_bias": true,
381
+ "remove_invalid_values": false,
382
+ "repetition_penalty": 1.0,
383
+ "return_dict": true,
384
+ "return_dict_in_generate": false,
385
+ "sep_token_id": null,
386
+ "suppress_tokens": null,
387
+ "task_specific_params": null,
388
+ "temperature": 1.0,
389
+ "tf_legacy_loss": false,
390
+ "tie_encoder_decoder": false,
391
+ "tie_word_embeddings": true,
392
+ "tokenizer_class": null,
393
+ "top_k": 50,
394
+ "top_p": 1.0,
395
+ "torch_dtype": null,
396
+ "torchscript": false,
397
+ "typical_p": 1.0,
398
+ "use_bfloat16": false
399
+ },
400
+ "eos_token_id": 2082,
401
+ "is_encoder_decoder": true,
402
+ "max_length": null,
403
+ "model_type": "vision-encoder-decoder",
404
+ "pad_token_id": 2083,
405
+ "tie_word_embeddings": false,
406
+ "torch_dtype": "float32",
407
+ "transformers_version": "4.48.1",
408
+ "vocab_size": 2084
409
+ }
transformer/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2081,
4
+ "eos_token_id": 2082,
5
+ "max_length": 817,
6
+ "transformers_version": "4.48.1"
7
+ }
transformer/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15686301354794af3e98aae2c1e29aaf14a0f08a49e8d475dc18aaad33ca91c0
3
+ size 2580420756
vqgan_model/config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "VQModel",
3
+ "_diffusers_version": "0.32.2",
4
+ "_name_or_path": "gyrojeff/Hyperstroke-VQ-Quickdraw",
5
+ "ddconfig": {
6
+ "attn_resolutions": [
7
+ 16
8
+ ],
9
+ "ch": 128,
10
+ "ch_mult": [
11
+ 1,
12
+ 1,
13
+ 2,
14
+ 2,
15
+ 4
16
+ ],
17
+ "double_z": false,
18
+ "dropout": 0.0,
19
+ "in_channels": 4,
20
+ "num_res_blocks": 2,
21
+ "out_ch": 4,
22
+ "resolution": 256,
23
+ "z_channels": 256
24
+ },
25
+ "embed_dim": 256,
26
+ "n_embed": 2048,
27
+ "remap": null,
28
+ "sane_index_shape": false
29
+ }
vqgan_model/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:704b61d4f08815b52f6b02928f6ed5f39db4aff29cca5be6ca73e1f5890424ec
3
+ size 289659936