Tuyabei commited on
Commit
bd94c5d
·
1 Parent(s): bd43f5b
README.md CHANGED
@@ -1,3 +1,11 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
1
+ # Open-Pandora Model Card
2
+
3
+ ## Model Status
4
+ We currently hide the model weights due to data license issues. We will re-open the weights soon after we resolve this issue.
5
+
6
+ ## Model Details
7
+ Open-Pandora is a faithful reproduction of the original [Pandora project](https://world-model.maitrix.org) developed by Maitrix. This model was trained on the Webvid dataset for 600,000 steps to simulate diverse world states by generating videos across various domains. It supports on-the-fly control using free-text actions.
8
+
9
+ ## Uses
10
+ For more information, please refer to [our GitHub repository](https://github.com/OpenSparseLLMs/Open-Pandora).
11
+
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<image>": 32000,
3
+ "[IMG_P]": 32001,
4
+ "<img_s>": 32002
5
+ }
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "video_model_name_or_path":"Chat-UniVi/Chat-UniVi",
3
+ "diffusion_model_name_or_path":"stabilityai/stable-diffusion-2-base",
4
+ "image_prefix_length": 64,
5
+ "use_diffusion_text_encoder": false,
6
+ "video_model_config":
7
+ {
8
+ "_name_or_path": "",
9
+ "aarchitectures": "ChatUniViLlamaForCausalLM",
10
+ "architectures": [
11
+ "ChatUniViLlamaForCausalLM"
12
+ ],
13
+ "bos_token_id": 1,
14
+ "config": {
15
+ "spatial_cluster_rate0": 64,
16
+ "spatial_cluster_rate1": 32,
17
+ "spatial_cluster_rate2": 16,
18
+ "freeze": false,
19
+ "mm_tune": true,
20
+ "use_cluster": true,
21
+ "temporal_cluster_rate": 0.0625,
22
+ "vision_tune": false
23
+ },
24
+ "eos_token_id": 2,
25
+ "freeze_mm_mlp_adapter": false,
26
+ "hidden_act": "silu",
27
+ "hidden_size": 4096,
28
+ "image_aspect_ratio": "square",
29
+ "image_grid_pinpoints": null,
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": 11008,
32
+ "max_position_embeddings": 4096,
33
+ "mm_hidden_size": 1024,
34
+ "mm_use_box_start_end": false,
35
+ "mm_use_im_patch_token": false,
36
+ "mm_use_im_start_end": false,
37
+ "mm_vision_select_feature": "patch",
38
+ "mm_vision_select_layer": -2,
39
+ "mm_vision_tower": "openai/clip-vit-large-patch14",
40
+ "model_type": "ChatUniVi",
41
+ "num_attention_heads": 32,
42
+ "num_hidden_layers": 32,
43
+ "num_key_value_heads": 32,
44
+ "pad_token_id": 0,
45
+ "pretraining_tp": 1,
46
+ "rms_norm_eps": 1e-05,
47
+ "rope_scaling": null,
48
+ "tie_word_embeddings": false,
49
+ "torch_dtype": "bfloat16",
50
+ "transformers_version": "4.31.0",
51
+ "tune_mm_mlp_adapter": false,
52
+ "use_cache": true,
53
+ "use_mm_proj": true,
54
+ "vocab_size": 32000
55
+ },
56
+ "use_image_prefix": true,
57
+ "use_flash_attn": false,
58
+ "use_image_callbacks": false,
59
+ "rescale_betas_zero_snr": true,
60
+ "parameterization": "v",
61
+ "linear_start": 0.00085,
62
+ "linear_end": 0.012,
63
+ "num_timesteps_cond": 1,
64
+ "timesteps": 1000,
65
+ "first_stage_key": "video",
66
+ "cond_stage_key": "caption",
67
+ "cond_stage_trainable": false,
68
+ "conditioning_key": "hybrid",
69
+ "image_size": [
70
+ 40,
71
+ 64
72
+ ],
73
+ "channels": 4,
74
+ "scale_by_std": false,
75
+ "scale_factor": 0.18215,
76
+ "use_ema": false,
77
+ "uncond_type": "empty_seq",
78
+ "use_dynamic_rescale": true,
79
+ "base_scale": 0.7,
80
+ "fps_condition_type": "fps",
81
+ "perframe_ae": true,
82
+ "qformer_config":{
83
+ "model_name": "blip_2_qformer"
84
+ },
85
+ "diffusion_qformer_config":{
86
+ "hidden_size": 768
87
+ }
88
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "eos_token_id": 2,
4
+ "max_length": 4096,
5
+ "pad_token_id": 0,
6
+ "temperature": 0.9,
7
+ "top_p": 0.6,
8
+ "transformers_version": "4.31.0"
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23ce5743d89c57bfb1fac94fd5da6457fcd65a98f7d8c57fd01053ffff1276f5
3
+ size 19518232066
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<image>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "[IMG_P]",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "32002": {
47
+ "content": "<img_s>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": true
53
+ }
54
+ },
55
+ "bos_token": "<s>",
56
+ "clean_up_tokenization_spaces": false,
57
+ "eos_token": "</s>",
58
+ "legacy": false,
59
+ "model_max_length": 2048,
60
+ "pad_token": "<unk>",
61
+ "padding_side": "right",
62
+ "sp_model_kwargs": {},
63
+ "spaces_between_special_tokens": false,
64
+ "tokenizer_class": "LlamaTokenizer",
65
+ "unk_token": "<unk>",
66
+ "use_default_system_prompt": false
67
+ }