yucornetto commited on
Commit
1fde06d
1 Parent(s): 7c59ae0

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +12 -0
  2. config.json +42 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - arxiv:2304.12244
5
+ - image-tokenization
6
+ - model_hub_mixin
7
+ - pytorch_model_hub_mixin
8
+ ---
9
+
10
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
11
+ - Library: [More Information Needed]
12
+ - Docs: [More Information Needed]
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "experiment": {
3
+ "tokenizer_checkpoint": "tokenizer_titok_b64.bin",
4
+ "generator_checkpoint": "generator_titok_b64.bin",
5
+ "output_dir": "titok_b_64"
6
+ },
7
+ "model": {
8
+ "vq_model": {
9
+ "codebook_size": 4096,
10
+ "token_size": 12,
11
+ "use_l2_norm": true,
12
+ "commitment_cost": 0.25,
13
+ "vit_enc_model_size": "base",
14
+ "vit_dec_model_size": "base",
15
+ "vit_enc_patch_size": 16,
16
+ "vit_dec_patch_size": 16,
17
+ "num_latent_tokens": 64
18
+ },
19
+ "generator": {
20
+ "model_type": "ViT",
21
+ "hidden_size": 768,
22
+ "num_hidden_layers": 24,
23
+ "num_attention_heads": 16,
24
+ "intermediate_size": 3072,
25
+ "dropout": 0.1,
26
+ "attn_drop": 0.1,
27
+ "num_steps": 8,
28
+ "mask_schedule_strategy": "arccos",
29
+ "class_label_dropout": 0.1,
30
+ "image_seq_len": "${model.vq_model.num_latent_tokens}",
31
+ "condition_num_classes": 1000,
32
+ "randomize_temperature": 11.0,
33
+ "guidance_scale": 3.0,
34
+ "guidance_decay": "linear"
35
+ }
36
+ },
37
+ "dataset": {
38
+ "preprocessing": {
39
+ "crop_size": 256
40
+ }
41
+ }
42
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13dcb673f04d6efc25921e960fb8695b81de9459bc4037a4b8ef5ff65980fe3a
3
+ size 819299812