yucornetto commited on
Commit
4b6e2b1
1 Parent(s): 92127e8

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +12 -0
  2. config.json +26 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - arxiv:2406.07550
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: https://github.com/bytedance/1d-tokenizer
12
+ - Docs: [More Information Needed]
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "experiment": {
3
+ "tokenizer_checkpoint": "titok_bl128_vq8k.bin",
4
+ "output_dir": "titok_bl128_vq8k"
5
+ },
6
+ "model": {
7
+ "vq_model": {
8
+ "codebook_size": 8192,
9
+ "token_size": 64,
10
+ "use_l2_norm": false,
11
+ "commitment_cost": 0.25,
12
+ "vit_enc_model_size": "base",
13
+ "vit_dec_model_size": "large",
14
+ "vit_enc_patch_size": 16,
15
+ "vit_dec_patch_size": 16,
16
+ "num_latent_tokens": 128,
17
+ "finetune_decoder": false,
18
+ "is_legacy": false
19
+ }
20
+ },
21
+ "dataset": {
22
+ "preprocessing": {
23
+ "crop_size": 256
24
+ }
25
+ }
26
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db0d193fd48020201274a1b97e8df3d114e5ab98fcc7d2eeb91e8671d1db6ea6
3
+ size 1560770048