jiuhai gxchris95 hongyixu2008 wuqing157 commited on
Commit
936a8a3
·
0 Parent(s):

Co-authored-by: gxchris95 <gxchris95@users.noreply.huggingface.co>
Co-authored-by: hongyixu2008 <hongyixu2008@users.noreply.huggingface.co>
Co-authored-by: wuqing157 <wuqing157@users.noreply.huggingface.co>

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +51 -0
  2. LICENSE +202 -0
  3. NOTICE +10 -0
  4. README.md +237 -0
  5. THIRD_PARTY_LICENSES +635 -0
  6. assets/pan2-logo-dark.png +0 -0
  7. assets/pan2-logo-light.png +0 -0
  8. assets/report/architecture.png +3 -0
  9. assets/report/captioning_pipeline.png +3 -0
  10. assets/report/data_taxonomy.png +3 -0
  11. assets/report/results_benchmarks_dark.png +3 -0
  12. assets/report/results_benchmarks_light.png +3 -0
  13. assets/report/results_capabilities_dark.png +3 -0
  14. assets/report/results_capabilities_light.png +3 -0
  15. assets/report/results_human_dark.png +3 -0
  16. assets/report/results_human_light.png +3 -0
  17. assets/report/simulative_reasoning_puzzle.jpg +3 -0
  18. assets/report/simulative_reasoning_surfing.jpg +3 -0
  19. assets/report/tier1_capabilities.png +3 -0
  20. assets/report/tier2_tsr.png +3 -0
  21. assets/video.mp4 +3 -0
  22. assets/video_preview.gif +3 -0
  23. modular_model_index.json +75 -0
  24. scheduler/scheduler_config.json +18 -0
  25. text_encoder/config.json +83 -0
  26. text_encoder/model-00001-of-00004.safetensors +3 -0
  27. text_encoder/model-00002-of-00004.safetensors +3 -0
  28. text_encoder/model-00003-of-00004.safetensors +3 -0
  29. text_encoder/model-00004-of-00004.safetensors +3 -0
  30. text_encoder/model.safetensors.index.json +434 -0
  31. tokenizer/chat_template.jinja +154 -0
  32. tokenizer/tokenizer.json +3 -0
  33. tokenizer/tokenizer_config.json +48 -0
  34. transformer/config.json +26 -0
  35. transformer/diffusion_pytorch_model-00001-of-00014.safetensors +3 -0
  36. transformer/diffusion_pytorch_model-00002-of-00014.safetensors +3 -0
  37. transformer/diffusion_pytorch_model-00003-of-00014.safetensors +3 -0
  38. transformer/diffusion_pytorch_model-00004-of-00014.safetensors +3 -0
  39. transformer/diffusion_pytorch_model-00005-of-00014.safetensors +3 -0
  40. transformer/diffusion_pytorch_model-00006-of-00014.safetensors +3 -0
  41. transformer/diffusion_pytorch_model-00007-of-00014.safetensors +3 -0
  42. transformer/diffusion_pytorch_model-00008-of-00014.safetensors +3 -0
  43. transformer/diffusion_pytorch_model-00009-of-00014.safetensors +3 -0
  44. transformer/diffusion_pytorch_model-00010-of-00014.safetensors +3 -0
  45. transformer/diffusion_pytorch_model-00011-of-00014.safetensors +3 -0
  46. transformer/diffusion_pytorch_model-00012-of-00014.safetensors +3 -0
  47. transformer/diffusion_pytorch_model-00013-of-00014.safetensors +3 -0
  48. transformer/diffusion_pytorch_model-00014-of-00014.safetensors +3 -0
  49. transformer/diffusion_pytorch_model.safetensors.index.json +0 -0
  50. vae/config.json +129 -0
.gitattributes ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ assets/report/architecture.png filter=lfs diff=lfs merge=lfs -text
38
+ assets/report/captioning_pipeline.png filter=lfs diff=lfs merge=lfs -text
39
+ assets/report/data_taxonomy.png filter=lfs diff=lfs merge=lfs -text
40
+ assets/report/tier1_capabilities.png filter=lfs diff=lfs merge=lfs -text
41
+ assets/report/tier2_tsr.png filter=lfs diff=lfs merge=lfs -text
42
+ assets/report/simulative_reasoning_puzzle.jpg filter=lfs diff=lfs merge=lfs -text
43
+ assets/report/simulative_reasoning_surfing.jpg filter=lfs diff=lfs merge=lfs -text
44
+ assets/report/results_benchmarks_dark.png filter=lfs diff=lfs merge=lfs -text
45
+ assets/report/results_benchmarks_light.png filter=lfs diff=lfs merge=lfs -text
46
+ assets/report/results_capabilities_dark.png filter=lfs diff=lfs merge=lfs -text
47
+ assets/report/results_capabilities_light.png filter=lfs diff=lfs merge=lfs -text
48
+ assets/report/results_human_dark.png filter=lfs diff=lfs merge=lfs -text
49
+ assets/report/results_human_light.png filter=lfs diff=lfs merge=lfs -text
50
+ assets/video.mp4 filter=lfs diff=lfs merge=lfs -text
51
+ assets/video_preview.gif filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
NOTICE ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ PAN 2
2
+ Copyright 2026 Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)
3
+ Developed by the Institute of Foundation Models (IFM) at MBZUAI
4
+
5
+ This product includes or is used with the following third-party components, each licensed under the terms set out in THIRD_PARTY_LICENSES:
6
+ - Wan 2.2, Copyright 2024-2025 The Alibaba Wan Team Authors, licensed under the Apache License, Version 2.0
7
+ - Qwen (Qwen3.5-9B), Copyright 2026 Alibaba Cloud, licensed under the Apache License, Version 2.0
8
+ - Diffusers, Copyright 2025 Stability AI, Katherine Crowson, HuggingFace Inc. and The HuggingFace Team, licensed under the Apache License, Version 2.0
9
+
10
+ The names of the third-party components and their owners are used solely to identify the origin of those components and do not imply any endorsement of PAN 2.
README.md ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: image-text-to-video
3
+ license: apache-2.0
4
+ license_link: LICENSE
5
+ library_name: pan
6
+ tags:
7
+ - world-model
8
+ - world-simulation
9
+ - text-to-video
10
+ - image-to-video
11
+ - image-text-to-video
12
+ - diffusion-transformer
13
+ language:
14
+ - en
15
+ ---
16
+
17
+ <div align="center">
18
+ <picture>
19
+ <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/IFM/PAN2-TEST/resolve/main/assets/pan2-logo-dark.png">
20
+ <img alt="PAN 2" src="assets/pan2-logo-light.png" width="420">
21
+ </picture>
22
+ </div>
23
+
24
+ <p align="center">
25
+ <a href="https://github.com/ifm-ai/PAN2" target="_blank"><img src="https://img.shields.io/badge/GitHub-181717?logo=github&logoColor=white" alt="GitHub"></a>
26
+ <a href="https://huggingface.co/IFM/PAN2" target="_blank"><img src="https://img.shields.io/badge/Hugging%20Face-FFD21E?logo=huggingface&logoColor=black" alt="Hugging Face"></a>
27
+ <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/pan2" target="_blank"><img src="https://img.shields.io/badge/Diffusers-FF9D00?logo=huggingface&logoColor=white" alt="Diffusers"></a>
28
+ <a href="https://recipes.vllm.ai/IFM/PAN2" target="_blank"><img src="https://img.shields.io/badge/vLLM-30A2FF?logoColor=white" alt="vLLM"></a>
29
+ <a href="https://github.com/ifm-ai/PAN2/blob/main/README.md" target="_blank"><img src="https://img.shields.io/badge/Docs-4f8cff?logo=readthedocs&logoColor=white" alt="Docs"></a>
30
+ <a href="https://github.com/ifm-ai/PAN2/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/badge/LICENSE-Apache%202.0-4CAF50?logo=apache&logoColor=white" alt="LICENSE"></a>
31
+ </p>
32
+
33
+ # PAN 2
34
+
35
+ Developed by the Institute of Foundation Models (IFM) at MBZUAI.
36
+
37
+ <video src="https://huggingface.co/IFM/PAN2-TEST/resolve/main/assets/video.mp4" width="100%" autoplay loop muted playsinline></video>
38
+
39
+ ## Overview
40
+
41
+ PAN 2 is a general-purpose world model: it simulates how the world will change in response to actions. Given a current observation (an optional image plus text) and actions described in text, it simulates the outcome as a video of up to 20 seconds. This supports *simulative reasoning*: an agent can imagine the outcomes of its candidate actions before choosing among them, by simulating each plan with PAN 2 and acting on the one whose simulated outcome is best.
42
+
43
+ PAN 2 follows the Generative Latent Prediction (GLP) architecture formalized in [Critique of World Models](https://arxiv.org/abs/2507.05169) and couples **conceptual reasoning** by a large language model with **perceptual reasoning** by a latent diffusion model. The language model, the **conceptual reasoning backbone**, reasons over the observation and the requested actions and writes the next world state as a structured, time-grounded description of events, timed actions bound to actors, and camera motion. The frozen text encoder maps the structured description to the conditioning features used by the diffusion model. The 29B-parameter MMDiT, the **perceptual reasoning backbone**, trained from scratch on hundreds of millions of videos annotated in the same format, predicts the perceptual detail that the description leaves open: the video latents that realize the state, conditioned on it and on the VAE latent of the starting image. The Wan 2.2 VAE decoder renders the predicted latents as the next observation, so every prediction can be seen and checked against real footage.
44
+
45
+ ## Checkpoints
46
+
47
+ PAN 2's latent diffusion model is released as a single checkpoint that serves both tasks. The frozen text encoder (Qwen3.5-9B) and VAE (Wan 2.2) are downloaded from their own repositories.
48
+
49
+ |Checkpoint|Supported Tasks|Input Conditions|Output|Precision|
50
+ |---|---|---|---|---|
51
+ |PAN 2 diffusion backbone (`IFM/PAN2`)|Text-to-video (`t2v`), Image-to-video (`i2v`)|Structured world-state caption; optional first frame|Video via the VAE decoder, 704x1248 at 24 fps, up to 20 s|BF16|
52
+
53
+ ## Usage
54
+
55
+ PAN 2 is also supported in [Diffusers](https://huggingface.co/docs/diffusers/main/en/api/pipelines/pan2) and [vLLM](https://recipes.vllm.ai/IFM/PAN2); the instructions below use this repository's `generate.py`.
56
+
57
+ ### Local Deployment of the PAN 2 Simulator
58
+
59
+ The released perceptual backbone weights are in the diffusers layout (`PAN2Transformer3DModel`). Download them and convert them once for this repository's `generate.py`:
60
+
61
+ ```bash
62
+ hf download IFM/PAN2 --include "transformer/*" --local-dir /path/to/PAN2
63
+ python scripts/convert_checkpoint.py to-native \
64
+ --input /path/to/PAN2/transformer --output <DIR>/transformer
65
+ ```
66
+
67
+ Then pass `<DIR>/transformer` as `CKPT_PATH` below.
68
+
69
+ **Environment** (see [docs/environment.md](https://github.com/ifm-ai/PAN2/blob/main/docs/environment.md)):
70
+
71
+ ```bash
72
+ conda create -n pan python=3.14 -y && conda activate pan
73
+ pip install torch==2.12.1 torchvision==0.27.1 --index-url https://download.pytorch.org/whl/cu132
74
+ pip install --pre "flash-attn-4[cu13]==4.0.0b29" --no-build-isolation
75
+ pip install "quack-kernels[cu13]==0.6.4"
76
+ pip install -r requirements.txt
77
+ ```
78
+
79
+ **Frozen components** (text encoder and VAE, fetched from the Hugging Face cache at `HF_HOME`):
80
+
81
+ ```bash
82
+ export HF_HOME=YOUR_HF_PATH
83
+ hf download Qwen/Qwen3.5-9B
84
+ hf download Wan-AI/Wan2.2-TI2V-5B-Diffusers
85
+ ```
86
+
87
+ **Checkpoint.** `CKPT_PATH` is a training `checkpoint-N/transformer` directory (DCP), a `model_state.pt`, or a directory of `*.safetensors`. The architecture is read from `config/sft_29B_720p.yaml`; no model root is needed.
88
+
89
+ **Generate** (single node, one `generate.py` worker per GPU; each worker holds the full 29B diffusion model and takes every N-th prompt):
90
+
91
+ ```bash
92
+ bash inference/inference.sh <CKPT_PATH> <OUTPUT_DIR> [PROMPTS_JSON] # or sbatch, same arguments
93
+ ```
94
+
95
+ `PROMPTS_JSON` defaults to `inference/prompts/examples.json` (one `t2v` and one `i2v` record with structured negatives and a reference image). Any entry with an `image_path` (or `type: i2v`) runs as image-to-video. Videos land in `<OUTPUT_DIR>/{t2v,i2v}/` next to a `*_config.json`; a rerun into the same directory skips finished clips.
96
+
97
+ Default sampler:
98
+
99
+ | Control | Value |
100
+ |---|---|
101
+ | Steps / flow shift | 50 / 9 |
102
+ | Classifier-free guidance | 2.5 on every step |
103
+ | Resolution / frame rate | 704 x 1248 at 24 fps |
104
+ | Frames | 241 (about 10 s) for entries without a duration; up to 481 (20 s) |
105
+ | Seed | 123 |
106
+ | Precision | bf16 transformer |
107
+ | I2V | temporal latent 0 uses the positive prediction without guidance |
108
+
109
+ Override any default through environment variables (`NUM_STEPS`, `FLOW_SHIFT`, `GUIDANCE_SCALE`, `VIDEO_LENGTH`, `SEED`, `NUM_GPUS`, ...) or pass extra `generate.py` flags in `EXTRA_ARGS` (CFG windows, skip-layer guidance, timestep schedules). See [docs/inference.md](https://github.com/ifm-ai/PAN2/blob/main/docs/inference.md).
110
+
111
+ ### Full PAN 2 Workflow
112
+
113
+ The full workflow runs the conceptual reasoner on a free-text prompt, then the locally deployed perceptual pipeline on its structured output.
114
+
115
+ <table>
116
+ <thead>
117
+ <tr><th>stage</th><th>request</th><th>result</th></tr>
118
+ </thead>
119
+ <tbody>
120
+ <tr><td>Conceptual reasoner</td><td><a href="https://github.com/ifm-ai/PAN2/blob/main/inference/pan-prompt-rewriter/SKILL.md">PAN 2 Conceptual Reasoner (Prompt Rewriter) skill</a>, or <code>python inference/prompts_rewritter.py</code> with a local instruction-tuned model</td><td>The prompt JSON with a structured <code>refined_prompts</code> world-state caption added to each record</td></tr>
121
+ <tr><td>Perceptual pipeline</td><td><code>bash inference/inference.sh &lt;CKPT_PATH&gt; &lt;OUTPUT_DIR&gt; &lt;REWRITTEN_JSON&gt;</code></td><td><code>&lt;OUTPUT_DIR&gt;/{t2v,i2v}/*.mp4</code>, each next to a <code>*_config.json</code></td></tr>
122
+ </tbody>
123
+ </table>
124
+
125
+ See [docs/inference.md](https://github.com/ifm-ai/PAN2/blob/main/docs/inference.md#5-prompt-rewriting) for the prompt JSON format.
126
+
127
+ ### Prompting Guidance
128
+
129
+ The PAN 2 perceptual backbone is conditioned on structured world-state captions, so prompts work best in that format. Free-text prompts should be rewritten by a conceptual reasoner before generation.
130
+
131
+ - [PAN 2 Conceptual Reasoner skill](https://github.com/ifm-ai/PAN2/blob/main/inference/pan-prompt-rewriter/SKILL.md): a Codex / Claude Code agent skill carrying the caption policy ([system_prompt.md](https://github.com/ifm-ai/PAN2/blob/main/inference/pan-prompt-rewriter/system_prompt.md)), the fixed negative prompt, and a validator for the text-encoder token budget (soft limit 1,480, hard capacity 1,536 tokens per caption).
132
+ - `inference/prompts_rewritter.py`: offline rewriting with a local instruction-tuned model.
133
+ - [docs/inference.md](https://github.com/ifm-ai/PAN2/blob/main/docs/inference.md#5-prompt-rewriting): prompt JSON format and rewriting.
134
+
135
+ Reasoners evaluated in the report, in order of full-plan completion: Claude Opus 5.5, GPT-6 Astra (medium effort), Kimi K3, Qwen 3.8 Flash. Any instruction-following LLM can be used.
136
+
137
+ ## Headline Results
138
+
139
+ The technical report uses Kimi K3 for all studies unless stated otherwise.
140
+
141
+ ### Simulation Capabilities and Multi-step Plans
142
+
143
+ Six capabilities: 300 single-action test cases (201 I2V, 99 T2V), accuracy (%). Multi-step plans: 100 egocentric everyday tasks posed as I2V and T2V (200 prompts, 456 steps), step completion (%) and full-plan completion (share of simulations with every step completed, %). Mean ± SD over 3 seeds; † single seed for closed-source models.
144
+
145
+ <p align="center">
146
+ <picture>
147
+ <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/IFM/PAN2-TEST/resolve/main/assets/report/results_capabilities_dark.png">
148
+ <img alt="Capability and multi-step plan results, PAN 2 highlighted" src="assets/report/results_capabilities_light.png" width="100%">
149
+ </picture>
150
+ </p>
151
+
152
+ ### Public Benchmarks
153
+
154
+ Physics-IQ Verified (I2V) is normalized so that the variance between two real takes is 100 (public leaderboard setting: leaderboard entries, PAN 2 with Claude Opus 5.5 as the conceptual reasoner, mean ± SD over seeds 123–126; system default setting: each model's own default pipeline run by us). PhyGround is on a 5-point scale judged by Qwen3.8-27B. RBench is the unweighted mean over five task and four embodiment categories, multiplied by 100. † closed models generated once through the fal API.
155
+
156
+ <p align="center">
157
+ <picture>
158
+ <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/IFM/PAN2-TEST/resolve/main/assets/report/results_benchmarks_dark.png">
159
+ <img alt="Public benchmark results, PAN 2 highlighted" src="assets/report/results_benchmarks_light.png" width="100%">
160
+ </picture>
161
+ </p>
162
+
163
+ ### Human Evaluation
164
+
165
+ Blind pairwise preference on 140 prompts (90 T2V, 50 I2V) judged on action adherence, physics and world consistency by 13 reviewers over 1,400 comparisons. Elo from a Bradley–Terry fit centered at 1500, with 95% confidence intervals.
166
+
167
+ <p align="center">
168
+ <picture>
169
+ <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/IFM/PAN2-TEST/resolve/main/assets/report/results_human_dark.png">
170
+ <img alt="Human evaluation: Elo with 95% confidence intervals and win rates, PAN 2 highlighted" src="assets/report/results_human_light.png" width="100%">
171
+ </picture>
172
+ </p>
173
+
174
+ ## Safety Guardrails
175
+
176
+ We strongly recommend running PAN 2 behind [`pan2-guardrail`](https://github.com/ifm-ai/pan2-guardrail), which screens the request with [Qwen3Guard-Gen-4B](https://huggingface.co/Qwen/Qwen3Guard-Gen-4B) before generation and the generated video with the [Q16](https://huggingface.co/IFM/PAN2-guardrail-Q16) frame classifier after it. Use both guards. The guardrail is distributed separately; see its repository for installation and usage.
177
+
178
+ In internal evaluations with Kimi K3 as the conceptual reasoner, the guardrail reduced the share of harmful T2V requests that yield an unsafe video from 33.9% to 1.5%, and no unsafe I2V outputs were observed. It also stopped 11.5% of benign T2V requests and 3.3% of benign I2V requests. See [`pan2-guardrail`](https://github.com/ifm-ai/pan2-guardrail) for more details.
179
+
180
+ The guardrails reduce, but do not eliminate, the risk of harmful outputs, and users remain responsible for reviewing generated content and for their use of the model.
181
+
182
+ ## Intended Uses
183
+
184
+ PAN 2 is intended for research and development in world modeling and simulative reasoning, including simulating the outcomes of actions for agents and robotics, studying physical and causal reasoning in video, and generating video for evaluation, education, and creative work.
185
+
186
+ ## Out-of-Scope Uses
187
+
188
+ PAN 2 should not be used to:
189
+
190
+ - create content that impersonates or depicts real, identifiable people without their consent, including deepfakes;
191
+ - create or spread misinformation, including content presented as real footage of events that did not occur;
192
+ - generate sexual content involving minors, non-consensual intimate content, or content that promotes violence, harassment or discrimination;
193
+ - infringe the intellectual property, privacy or other rights of others; or
194
+ - make decisions about people or safety-critical decisions (e.g. in medical, legal or physical control systems) without independent human review and validation.
195
+
196
+ PAN 2's simulations are predictions, not records of real events, and should not be relied on as evidence of what happened or will happen.
197
+
198
+ ## Training
199
+
200
+ The shipped configs `config/pretrain_29B_720p.yaml` and `config/sft_29B_720p.yaml` define the diffusion model architecture; point their `data` paths at your own latents, see [docs/training.md](https://github.com/ifm-ai/PAN2/blob/main/docs/training.md).
201
+
202
+ ## Limitations
203
+
204
+ - **Long plans fail often.** About two in three simulated plans contain at least one step that is not carried out. The quantitative study covers open-loop plans designed to succeed; how faithfully PAN 2 simulates plans that should fail is not yet measured.
205
+ - **Prompt sensitivity.** Like related models, PAN 2 is sensitive to the wording of the prompt describing the observation and action; the examples beyond the training data and the agent case studies relied on hand-refined prompts.
206
+ - **Long-horizon consistency.** Each clip is simulated from at most one starting frame plus text, so appearance drifts across clips in long interactions; a perceptual memory maintained alongside the text-based state would be needed to address this.
207
+ - **Text actions are coarse.** Text suits actions that can be stated as concepts, such as opening a drawer, but specifies dexterous ones, such as where each finger meets an object, only coarsely.
208
+ - **Shortcuts.** PAN 2 may let a simulation progress while violating physical constraints (e.g. pasta appearing in the colander before it is drained), which matters for uses that depend on the intermediate states.
209
+ - **Realistic synthetic video.** PAN 2 can generate realistic video that may be mistaken for real footage. Users should disclose that content is AI-generated where it could mislead.
210
+ - **Bias and representation.** PAN 2 was trained on large-scale video data and may reflect biases or gaps in that data, including in how people, places, and activities are depicted.
211
+
212
+ ## Responsible Use
213
+
214
+ PAN 2 is released under the Apache License, Version 2.0. We ask everyone who uses PAN 2 to do so responsibly, in line with applicable laws and the out-of-scope uses described above, to run it with the recommended guardrails, and to be transparent when sharing content generated with it. Concerns about misuse, security, or intellectual property can be reported to [pan@ifm.ai](mailto:pan@ifm.ai).
215
+
216
+ ## License
217
+
218
+ - PAN 2 is developed by the Institute of Foundation Models (IFM) at MBZUAI. Its own code and weights are released under the [Apache License, Version 2.0](https://huggingface.co/IFM/PAN2-TEST/blob/main/LICENSE).
219
+ - Third-party components (Wan 2.2, Qwen3.5-9B and Diffusers) are used under their own licenses; see [NOTICE](https://huggingface.co/IFM/PAN2-TEST/blob/main/NOTICE) and [THIRD_PARTY_LICENSES](https://huggingface.co/IFM/PAN2-TEST/blob/main/THIRD_PARTY_LICENSES). The Wan 2.2 and Qwen3.5-9B weights are used as released by their authors and have not been modified or fine-tuned by MBZUAI. Third-party code adapted in this repository keeps its original copyright and license header, with a notice describing MBZUAI's changes.
220
+
221
+ ## Citation
222
+
223
+ ```bibtex
224
+ @misc{pan2_2026,
225
+ title = {PAN 2},
226
+ author = {{PAN Team}},
227
+ organization = {Institute of Foundation Models, Mohamed bin Zayed University of Artificial Intelligence},
228
+ year = {2026},
229
+ month = oct,
230
+ howpublished = {\url{https://huggingface.co/IFM/PAN2}},
231
+ url = {https://huggingface.co/IFM/PAN2}
232
+ }
233
+ ```
234
+
235
+ ## Contact Us
236
+
237
+ For questions and bugs, open an issue on [GitHub](https://github.com/ifm-ai/PAN2/issues). To report misuse, security or IP concerns, email [pan@ifm.ai](mailto:pan@ifm.ai).
THIRD_PARTY_LICENSES ADDED
@@ -0,0 +1,635 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ PAN 2
2
+ Copyright 2026 Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)
3
+ Developed by the Institute of Foundation Models (IFM) at MBZUAI
4
+
5
+ This product includes or is used with the following third-party components. The full license text of each component is reproduced below:
6
+ - Wan 2.2, Copyright 2024-2025 The Alibaba Wan Team Authors, licensed under the Apache License, Version 2.0
7
+ - Qwen (Qwen3.5-9B), Copyright 2026 Alibaba Cloud, licensed under the Apache License, Version 2.0
8
+ - Diffusers, Copyright 2025 Stability AI, Katherine Crowson, HuggingFace Inc. and The HuggingFace Team, licensed under the Apache License, Version 2.0
9
+
10
+ ================================================================================
11
+ Wan 2.2
12
+ Copyright 2024-2025 The Alibaba Wan Team Authors
13
+ License: Apache License 2.0
14
+ Source: https://github.com/Wan-Video/Wan2.2
15
+ ================================================================================
16
+
17
+ Apache License
18
+ Version 2.0, January 2004
19
+ http://www.apache.org/licenses/
20
+
21
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
22
+
23
+ 1. Definitions.
24
+
25
+ "License" shall mean the terms and conditions for use, reproduction,
26
+ and distribution as defined by Sections 1 through 9 of this document.
27
+
28
+ "Licensor" shall mean the copyright owner or entity authorized by
29
+ the copyright owner that is granting the License.
30
+
31
+ "Legal Entity" shall mean the union of the acting entity and all
32
+ other entities that control, are controlled by, or are under common
33
+ control with that entity. For the purposes of this definition,
34
+ "control" means (i) the power, direct or indirect, to cause the
35
+ direction or management of such entity, whether by contract or
36
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
37
+ outstanding shares, or (iii) beneficial ownership of such entity.
38
+
39
+ "You" (or "Your") shall mean an individual or Legal Entity
40
+ exercising permissions granted by this License.
41
+
42
+ "Source" form shall mean the preferred form for making modifications,
43
+ including but not limited to software source code, documentation
44
+ source, and configuration files.
45
+
46
+ "Object" form shall mean any form resulting from mechanical
47
+ transformation or translation of a Source form, including but
48
+ not limited to compiled object code, generated documentation,
49
+ and conversions to other media types.
50
+
51
+ "Work" shall mean the work of authorship, whether in Source or
52
+ Object form, made available under the License, as indicated by a
53
+ copyright notice that is included in or attached to the work
54
+ (an example is provided in the Appendix below).
55
+
56
+ "Derivative Works" shall mean any work, whether in Source or Object
57
+ form, that is based on (or derived from) the Work and for which the
58
+ editorial revisions, annotations, elaborations, or other modifications
59
+ represent, as a whole, an original work of authorship. For the purposes
60
+ of this License, Derivative Works shall not include works that remain
61
+ separable from, or merely link (or bind by name) to the interfaces of,
62
+ the Work and Derivative Works thereof.
63
+
64
+ "Contribution" shall mean any work of authorship, including
65
+ the original version of the Work and any modifications or additions
66
+ to that Work or Derivative Works thereof, that is intentionally
67
+ submitted to Licensor for inclusion in the Work by the copyright owner
68
+ or by an individual or Legal Entity authorized to submit on behalf of
69
+ the copyright owner. For the purposes of this definition, "submitted"
70
+ means any form of electronic, verbal, or written communication sent
71
+ to the Licensor or its representatives, including but not limited to
72
+ communication on electronic mailing lists, source code control systems,
73
+ and issue tracking systems that are managed by, or on behalf of, the
74
+ Licensor for the purpose of discussing and improving the Work, but
75
+ excluding communication that is conspicuously marked or otherwise
76
+ designated in writing by the copyright owner as "Not a Contribution."
77
+
78
+ "Contributor" shall mean Licensor and any individual or Legal Entity
79
+ on behalf of whom a Contribution has been received by Licensor and
80
+ subsequently incorporated within the Work.
81
+
82
+ 2. Grant of Copyright License. Subject to the terms and conditions of
83
+ this License, each Contributor hereby grants to You a perpetual,
84
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85
+ copyright license to reproduce, prepare Derivative Works of,
86
+ publicly display, publicly perform, sublicense, and distribute the
87
+ Work and such Derivative Works in Source or Object form.
88
+
89
+ 3. Grant of Patent License. Subject to the terms and conditions of
90
+ this License, each Contributor hereby grants to You a perpetual,
91
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
92
+ (except as stated in this section) patent license to make, have made,
93
+ use, offer to sell, sell, import, and otherwise transfer the Work,
94
+ where such license applies only to those patent claims licensable
95
+ by such Contributor that are necessarily infringed by their
96
+ Contribution(s) alone or by combination of their Contribution(s)
97
+ with the Work to which such Contribution(s) was submitted. If You
98
+ institute patent litigation against any entity (including a
99
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
100
+ or a Contribution incorporated within the Work constitutes direct
101
+ or contributory patent infringement, then any patent licenses
102
+ granted to You under this License for that Work shall terminate
103
+ as of the date such litigation is filed.
104
+
105
+ 4. Redistribution. You may reproduce and distribute copies of the
106
+ Work or Derivative Works thereof in any medium, with or without
107
+ modifications, and in Source or Object form, provided that You
108
+ meet the following conditions:
109
+
110
+ (a) You must give any other recipients of the Work or
111
+ Derivative Works a copy of this License; and
112
+
113
+ (b) You must cause any modified files to carry prominent notices
114
+ stating that You changed the files; and
115
+
116
+ (c) You must retain, in the Source form of any Derivative Works
117
+ that You distribute, all copyright, patent, trademark, and
118
+ attribution notices from the Source form of the Work,
119
+ excluding those notices that do not pertain to any part of
120
+ the Derivative Works; and
121
+
122
+ (d) If the Work includes a "NOTICE" text file as part of its
123
+ distribution, then any Derivative Works that You distribute must
124
+ include a readable copy of the attribution notices contained
125
+ within such NOTICE file, excluding those notices that do not
126
+ pertain to any part of the Derivative Works, in at least one
127
+ of the following places: within a NOTICE text file distributed
128
+ as part of the Derivative Works; within the Source form or
129
+ documentation, if provided along with the Derivative Works; or,
130
+ within a display generated by the Derivative Works, if and
131
+ wherever such third-party notices normally appear. The contents
132
+ of the NOTICE file are for informational purposes only and
133
+ do not modify the License. You may add Your own attribution
134
+ notices within Derivative Works that You distribute, alongside
135
+ or as an addendum to the NOTICE text from the Work, provided
136
+ that such additional attribution notices cannot be construed
137
+ as modifying the License.
138
+
139
+ You may add Your own copyright statement to Your modifications and
140
+ may provide additional or different license terms and conditions
141
+ for use, reproduction, or distribution of Your modifications, or
142
+ for any such Derivative Works as a whole, provided Your use,
143
+ reproduction, and distribution of the Work otherwise complies with
144
+ the conditions stated in this License.
145
+
146
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
147
+ any Contribution intentionally submitted for inclusion in the Work
148
+ by You to the Licensor shall be under the terms and conditions of
149
+ this License, without any additional terms or conditions.
150
+ Notwithstanding the above, nothing herein shall supersede or modify
151
+ the terms of any separate license agreement you may have executed
152
+ with Licensor regarding such Contributions.
153
+
154
+ 6. Trademarks. This License does not grant permission to use the trade
155
+ names, trademarks, service marks, or product names of the Licensor,
156
+ except as required for reasonable and customary use in describing the
157
+ origin of the Work and reproducing the content of the NOTICE file.
158
+
159
+ 7. Disclaimer of Warranty. Unless required by applicable law or
160
+ agreed to in writing, Licensor provides the Work (and each
161
+ Contributor provides its Contributions) on an "AS IS" BASIS,
162
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
163
+ implied, including, without limitation, any warranties or conditions
164
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
165
+ PARTICULAR PURPOSE. You are solely responsible for determining the
166
+ appropriateness of using or redistributing the Work and assume any
167
+ risks associated with Your exercise of permissions under this License.
168
+
169
+ 8. Limitation of Liability. In no event and under no legal theory,
170
+ whether in tort (including negligence), contract, or otherwise,
171
+ unless required by applicable law (such as deliberate and grossly
172
+ negligent acts) or agreed to in writing, shall any Contributor be
173
+ liable to You for damages, including any direct, indirect, special,
174
+ incidental, or consequential damages of any character arising as a
175
+ result of this License or out of the use or inability to use the
176
+ Work (including but not limited to damages for loss of goodwill,
177
+ work stoppage, computer failure or malfunction, or any and all
178
+ other commercial damages or losses), even if such Contributor
179
+ has been advised of the possibility of such damages.
180
+
181
+ 9. Accepting Warranty or Additional Liability. While redistributing
182
+ the Work or Derivative Works thereof, You may choose to offer,
183
+ and charge a fee for, acceptance of support, warranty, indemnity,
184
+ or other liability obligations and/or rights consistent with this
185
+ License. However, in accepting such obligations, You may act only
186
+ on Your own behalf and on Your sole responsibility, not on behalf
187
+ of any other Contributor, and only if You agree to indemnify,
188
+ defend, and hold each Contributor harmless for any liability
189
+ incurred by, or claims asserted against, such Contributor by reason
190
+ of your accepting any such warranty or additional liability.
191
+
192
+ END OF TERMS AND CONDITIONS
193
+
194
+ APPENDIX: How to apply the Apache License to your work.
195
+
196
+ To apply the Apache License to your work, attach the following
197
+ boilerplate notice, with the fields enclosed by brackets "[]"
198
+ replaced with your own identifying information. (Don't include
199
+ the brackets!) The text should be enclosed in the appropriate
200
+ comment syntax for the file format. We also recommend that a
201
+ file or class name and description of purpose be included on the
202
+ same "printed page" as the copyright notice for easier
203
+ identification within third-party archives.
204
+
205
+ Copyright [yyyy] [name of copyright owner]
206
+
207
+ Licensed under the Apache License, Version 2.0 (the "License");
208
+ you may not use this file except in compliance with the License.
209
+ You may obtain a copy of the License at
210
+
211
+ http://www.apache.org/licenses/LICENSE-2.0
212
+
213
+ Unless required by applicable law or agreed to in writing, software
214
+ distributed under the License is distributed on an "AS IS" BASIS,
215
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
216
+ See the License for the specific language governing permissions and
217
+ limitations under the License.
218
+
219
+ ================================================================================
220
+ Qwen (Qwen3.5-9B)
221
+ Copyright 2026 Alibaba Cloud
222
+ License: Apache License 2.0
223
+ Source: https://huggingface.co/Qwen/Qwen3.5-9B
224
+ ================================================================================
225
+
226
+ Apache License
227
+ Version 2.0, January 2004
228
+ http://www.apache.org/licenses/
229
+
230
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
231
+
232
+ 1. Definitions.
233
+
234
+ "License" shall mean the terms and conditions for use, reproduction,
235
+ and distribution as defined by Sections 1 through 9 of this document.
236
+
237
+ "Licensor" shall mean the copyright owner or entity authorized by
238
+ the copyright owner that is granting the License.
239
+
240
+ "Legal Entity" shall mean the union of the acting entity and all
241
+ other entities that control, are controlled by, or are under common
242
+ control with that entity. For the purposes of this definition,
243
+ "control" means (i) the power, direct or indirect, to cause the
244
+ direction or management of such entity, whether by contract or
245
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
246
+ outstanding shares, or (iii) beneficial ownership of such entity.
247
+
248
+ "You" (or "Your") shall mean an individual or Legal Entity
249
+ exercising permissions granted by this License.
250
+
251
+ "Source" form shall mean the preferred form for making modifications,
252
+ including but not limited to software source code, documentation
253
+ source, and configuration files.
254
+
255
+ "Object" form shall mean any form resulting from mechanical
256
+ transformation or translation of a Source form, including but
257
+ not limited to compiled object code, generated documentation,
258
+ and conversions to other media types.
259
+
260
+ "Work" shall mean the work of authorship, whether in Source or
261
+ Object form, made available under the License, as indicated by a
262
+ copyright notice that is included in or attached to the work
263
+ (an example is provided in the Appendix below).
264
+
265
+ "Derivative Works" shall mean any work, whether in Source or Object
266
+ form, that is based on (or derived from) the Work and for which the
267
+ editorial revisions, annotations, elaborations, or other modifications
268
+ represent, as a whole, an original work of authorship. For the purposes
269
+ of this License, Derivative Works shall not include works that remain
270
+ separable from, or merely link (or bind by name) to the interfaces of,
271
+ the Work and Derivative Works thereof.
272
+
273
+ "Contribution" shall mean any work of authorship, including
274
+ the original version of the Work and any modifications or additions
275
+ to that Work or Derivative Works thereof, that is intentionally
276
+ submitted to Licensor for inclusion in the Work by the copyright owner
277
+ or by an individual or Legal Entity authorized to submit on behalf of
278
+ the copyright owner. For the purposes of this definition, "submitted"
279
+ means any form of electronic, verbal, or written communication sent
280
+ to the Licensor or its representatives, including but not limited to
281
+ communication on electronic mailing lists, source code control systems,
282
+ and issue tracking systems that are managed by, or on behalf of, the
283
+ Licensor for the purpose of discussing and improving the Work, but
284
+ excluding communication that is conspicuously marked or otherwise
285
+ designated in writing by the copyright owner as "Not a Contribution."
286
+
287
+ "Contributor" shall mean Licensor and any individual or Legal Entity
288
+ on behalf of whom a Contribution has been received by Licensor and
289
+ subsequently incorporated within the Work.
290
+
291
+ 2. Grant of Copyright License. Subject to the terms and conditions of
292
+ this License, each Contributor hereby grants to You a perpetual,
293
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
294
+ copyright license to reproduce, prepare Derivative Works of,
295
+ publicly display, publicly perform, sublicense, and distribute the
296
+ Work and such Derivative Works in Source or Object form.
297
+
298
+ 3. Grant of Patent License. Subject to the terms and conditions of
299
+ this License, each Contributor hereby grants to You a perpetual,
300
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
301
+ (except as stated in this section) patent license to make, have made,
302
+ use, offer to sell, sell, import, and otherwise transfer the Work,
303
+ where such license applies only to those patent claims licensable
304
+ by such Contributor that are necessarily infringed by their
305
+ Contribution(s) alone or by combination of their Contribution(s)
306
+ with the Work to which such Contribution(s) was submitted. If You
307
+ institute patent litigation against any entity (including a
308
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
309
+ or a Contribution incorporated within the Work constitutes direct
310
+ or contributory patent infringement, then any patent licenses
311
+ granted to You under this License for that Work shall terminate
312
+ as of the date such litigation is filed.
313
+
314
+ 4. Redistribution. You may reproduce and distribute copies of the
315
+ Work or Derivative Works thereof in any medium, with or without
316
+ modifications, and in Source or Object form, provided that You
317
+ meet the following conditions:
318
+
319
+ (a) You must give any other recipients of the Work or
320
+ Derivative Works a copy of this License; and
321
+
322
+ (b) You must cause any modified files to carry prominent notices
323
+ stating that You changed the files; and
324
+
325
+ (c) You must retain, in the Source form of any Derivative Works
326
+ that You distribute, all copyright, patent, trademark, and
327
+ attribution notices from the Source form of the Work,
328
+ excluding those notices that do not pertain to any part of
329
+ the Derivative Works; and
330
+
331
+ (d) If the Work includes a "NOTICE" text file as part of its
332
+ distribution, then any Derivative Works that You distribute must
333
+ include a readable copy of the attribution notices contained
334
+ within such NOTICE file, excluding those notices that do not
335
+ pertain to any part of the Derivative Works, in at least one
336
+ of the following places: within a NOTICE text file distributed
337
+ as part of the Derivative Works; within the Source form or
338
+ documentation, if provided along with the Derivative Works; or,
339
+ within a display generated by the Derivative Works, if and
340
+ wherever such third-party notices normally appear. The contents
341
+ of the NOTICE file are for informational purposes only and
342
+ do not modify the License. You may add Your own attribution
343
+ notices within Derivative Works that You distribute, alongside
344
+ or as an addendum to the NOTICE text from the Work, provided
345
+ that such additional attribution notices cannot be construed
346
+ as modifying the License.
347
+
348
+ You may add Your own copyright statement to Your modifications and
349
+ may provide additional or different license terms and conditions
350
+ for use, reproduction, or distribution of Your modifications, or
351
+ for any such Derivative Works as a whole, provided Your use,
352
+ reproduction, and distribution of the Work otherwise complies with
353
+ the conditions stated in this License.
354
+
355
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
356
+ any Contribution intentionally submitted for inclusion in the Work
357
+ by You to the Licensor shall be under the terms and conditions of
358
+ this License, without any additional terms or conditions.
359
+ Notwithstanding the above, nothing herein shall supersede or modify
360
+ the terms of any separate license agreement you may have executed
361
+ with Licensor regarding such Contributions.
362
+
363
+ 6. Trademarks. This License does not grant permission to use the trade
364
+ names, trademarks, service marks, or product names of the Licensor,
365
+ except as required for reasonable and customary use in describing the
366
+ origin of the Work and reproducing the content of the NOTICE file.
367
+
368
+ 7. Disclaimer of Warranty. Unless required by applicable law or
369
+ agreed to in writing, Licensor provides the Work (and each
370
+ Contributor provides its Contributions) on an "AS IS" BASIS,
371
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
372
+ implied, including, without limitation, any warranties or conditions
373
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
374
+ PARTICULAR PURPOSE. You are solely responsible for determining the
375
+ appropriateness of using or redistributing the Work and assume any
376
+ risks associated with Your exercise of permissions under this License.
377
+
378
+ 8. Limitation of Liability. In no event and under no legal theory,
379
+ whether in tort (including negligence), contract, or otherwise,
380
+ unless required by applicable law (such as deliberate and grossly
381
+ negligent acts) or agreed to in writing, shall any Contributor be
382
+ liable to You for damages, including any direct, indirect, special,
383
+ incidental, or consequential damages of any character arising as a
384
+ result of this License or out of the use or inability to use the
385
+ Work (including but not limited to damages for loss of goodwill,
386
+ work stoppage, computer failure or malfunction, or any and all
387
+ other commercial damages or losses), even if such Contributor
388
+ has been advised of the possibility of such damages.
389
+
390
+ 9. Accepting Warranty or Additional Liability. While redistributing
391
+ the Work or Derivative Works thereof, You may choose to offer,
392
+ and charge a fee for, acceptance of support, warranty, indemnity,
393
+ or other liability obligations and/or rights consistent with this
394
+ License. However, in accepting such obligations, You may act only
395
+ on Your own behalf and on Your sole responsibility, not on behalf
396
+ of any other Contributor, and only if You agree to indemnify,
397
+ defend, and hold each Contributor harmless for any liability
398
+ incurred by, or claims asserted against, such Contributor by reason
399
+ of your accepting any such warranty or additional liability.
400
+
401
+ END OF TERMS AND CONDITIONS
402
+
403
+ APPENDIX: How to apply the Apache License to your work.
404
+
405
+ To apply the Apache License to your work, attach the following
406
+ boilerplate notice, with the fields enclosed by brackets "[]"
407
+ replaced with your own identifying information. (Don't include
408
+ the brackets!) The text should be enclosed in the appropriate
409
+ comment syntax for the file format. We also recommend that a
410
+ file or class name and description of purpose be included on the
411
+ same "printed page" as the copyright notice for easier
412
+ identification within third-party archives.
413
+
414
+ Copyright 2026 Alibaba Cloud
415
+
416
+ Licensed under the Apache License, Version 2.0 (the "License");
417
+ you may not use this file except in compliance with the License.
418
+ You may obtain a copy of the License at
419
+
420
+ http://www.apache.org/licenses/LICENSE-2.0
421
+
422
+ Unless required by applicable law or agreed to in writing, software
423
+ distributed under the License is distributed on an "AS IS" BASIS,
424
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
425
+ See the License for the specific language governing permissions and
426
+ limitations under the License.
427
+
428
+ ================================================================================
429
+ Diffusers
430
+ Copyright 2025 Stability AI, Katherine Crowson, HuggingFace Inc. and The HuggingFace Team
431
+ License: Apache License 2.0
432
+ Source: https://github.com/huggingface/diffusers
433
+ ================================================================================
434
+
435
+ Apache License
436
+ Version 2.0, January 2004
437
+ http://www.apache.org/licenses/
438
+
439
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
440
+
441
+ 1. Definitions.
442
+
443
+ "License" shall mean the terms and conditions for use, reproduction,
444
+ and distribution as defined by Sections 1 through 9 of this document.
445
+
446
+ "Licensor" shall mean the copyright owner or entity authorized by
447
+ the copyright owner that is granting the License.
448
+
449
+ "Legal Entity" shall mean the union of the acting entity and all
450
+ other entities that control, are controlled by, or are under common
451
+ control with that entity. For the purposes of this definition,
452
+ "control" means (i) the power, direct or indirect, to cause the
453
+ direction or management of such entity, whether by contract or
454
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
455
+ outstanding shares, or (iii) beneficial ownership of such entity.
456
+
457
+ "You" (or "Your") shall mean an individual or Legal Entity
458
+ exercising permissions granted by this License.
459
+
460
+ "Source" form shall mean the preferred form for making modifications,
461
+ including but not limited to software source code, documentation
462
+ source, and configuration files.
463
+
464
+ "Object" form shall mean any form resulting from mechanical
465
+ transformation or translation of a Source form, including but
466
+ not limited to compiled object code, generated documentation,
467
+ and conversions to other media types.
468
+
469
+ "Work" shall mean the work of authorship, whether in Source or
470
+ Object form, made available under the License, as indicated by a
471
+ copyright notice that is included in or attached to the work
472
+ (an example is provided in the Appendix below).
473
+
474
+ "Derivative Works" shall mean any work, whether in Source or Object
475
+ form, that is based on (or derived from) the Work and for which the
476
+ editorial revisions, annotations, elaborations, or other modifications
477
+ represent, as a whole, an original work of authorship. For the purposes
478
+ of this License, Derivative Works shall not include works that remain
479
+ separable from, or merely link (or bind by name) to the interfaces of,
480
+ the Work and Derivative Works thereof.
481
+
482
+ "Contribution" shall mean any work of authorship, including
483
+ the original version of the Work and any modifications or additions
484
+ to that Work or Derivative Works thereof, that is intentionally
485
+ submitted to Licensor for inclusion in the Work by the copyright owner
486
+ or by an individual or Legal Entity authorized to submit on behalf of
487
+ the copyright owner. For the purposes of this definition, "submitted"
488
+ means any form of electronic, verbal, or written communication sent
489
+ to the Licensor or its representatives, including but not limited to
490
+ communication on electronic mailing lists, source code control systems,
491
+ and issue tracking systems that are managed by, or on behalf of, the
492
+ Licensor for the purpose of discussing and improving the Work, but
493
+ excluding communication that is conspicuously marked or otherwise
494
+ designated in writing by the copyright owner as "Not a Contribution."
495
+
496
+ "Contributor" shall mean Licensor and any individual or Legal Entity
497
+ on behalf of whom a Contribution has been received by Licensor and
498
+ subsequently incorporated within the Work.
499
+
500
+ 2. Grant of Copyright License. Subject to the terms and conditions of
501
+ this License, each Contributor hereby grants to You a perpetual,
502
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
503
+ copyright license to reproduce, prepare Derivative Works of,
504
+ publicly display, publicly perform, sublicense, and distribute the
505
+ Work and such Derivative Works in Source or Object form.
506
+
507
+ 3. Grant of Patent License. Subject to the terms and conditions of
508
+ this License, each Contributor hereby grants to You a perpetual,
509
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
510
+ (except as stated in this section) patent license to make, have made,
511
+ use, offer to sell, sell, import, and otherwise transfer the Work,
512
+ where such license applies only to those patent claims licensable
513
+ by such Contributor that are necessarily infringed by their
514
+ Contribution(s) alone or by combination of their Contribution(s)
515
+ with the Work to which such Contribution(s) was submitted. If You
516
+ institute patent litigation against any entity (including a
517
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
518
+ or a Contribution incorporated within the Work constitutes direct
519
+ or contributory patent infringement, then any patent licenses
520
+ granted to You under this License for that Work shall terminate
521
+ as of the date such litigation is filed.
522
+
523
+ 4. Redistribution. You may reproduce and distribute copies of the
524
+ Work or Derivative Works thereof in any medium, with or without
525
+ modifications, and in Source or Object form, provided that You
526
+ meet the following conditions:
527
+
528
+ (a) You must give any other recipients of the Work or
529
+ Derivative Works a copy of this License; and
530
+
531
+ (b) You must cause any modified files to carry prominent notices
532
+ stating that You changed the files; and
533
+
534
+ (c) You must retain, in the Source form of any Derivative Works
535
+ that You distribute, all copyright, patent, trademark, and
536
+ attribution notices from the Source form of the Work,
537
+ excluding those notices that do not pertain to any part of
538
+ the Derivative Works; and
539
+
540
+ (d) If the Work includes a "NOTICE" text file as part of its
541
+ distribution, then any Derivative Works that You distribute must
542
+ include a readable copy of the attribution notices contained
543
+ within such NOTICE file, excluding those notices that do not
544
+ pertain to any part of the Derivative Works, in at least one
545
+ of the following places: within a NOTICE text file distributed
546
+ as part of the Derivative Works; within the Source form or
547
+ documentation, if provided along with the Derivative Works; or,
548
+ within a display generated by the Derivative Works, if and
549
+ wherever such third-party notices normally appear. The contents
550
+ of the NOTICE file are for informational purposes only and
551
+ do not modify the License. You may add Your own attribution
552
+ notices within Derivative Works that You distribute, alongside
553
+ or as an addendum to the NOTICE text from the Work, provided
554
+ that such additional attribution notices cannot be construed
555
+ as modifying the License.
556
+
557
+ You may add Your own copyright statement to Your modifications and
558
+ may provide additional or different license terms and conditions
559
+ for use, reproduction, or distribution of Your modifications, or
560
+ for any such Derivative Works as a whole, provided Your use,
561
+ reproduction, and distribution of the Work otherwise complies with
562
+ the conditions stated in this License.
563
+
564
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
565
+ any Contribution intentionally submitted for inclusion in the Work
566
+ by You to the Licensor shall be under the terms and conditions of
567
+ this License, without any additional terms or conditions.
568
+ Notwithstanding the above, nothing herein shall supersede or modify
569
+ the terms of any separate license agreement you may have executed
570
+ with Licensor regarding such Contributions.
571
+
572
+ 6. Trademarks. This License does not grant permission to use the trade
573
+ names, trademarks, service marks, or product names of the Licensor,
574
+ except as required for reasonable and customary use in describing the
575
+ origin of the Work and reproducing the content of the NOTICE file.
576
+
577
+ 7. Disclaimer of Warranty. Unless required by applicable law or
578
+ agreed to in writing, Licensor provides the Work (and each
579
+ Contributor provides its Contributions) on an "AS IS" BASIS,
580
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
581
+ implied, including, without limitation, Any warranties or conditions
582
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
583
+ PARTICULAR PURPOSE. You are solely responsible for determining the
584
+ appropriateness of using or redistributing the Work and assume any
585
+ risks associated with Your exercise of permissions under this License.
586
+
587
+ 8. Limitation of Liability. In no event and under no legal theory,
588
+ whether in tort (including negligence), contract, or otherwise,
589
+ unless required by applicable law (such as deliberate and grossly
590
+ negligent acts) or agreed to in writing, shall any Contributor be
591
+ liable to You for damages, including any direct, indirect, special,
592
+ incidental, or consequential damages of any character arising as a
593
+ result of this License or out of the use or inability to use the
594
+ Work (including but not limited to damages for loss of goodwill,
595
+ work stoppage, computer failure or malfunction, or any and all
596
+ other commercial damages or losses), even if such Contributor
597
+ has been advised of the possibility of such damages.
598
+
599
+ 9. Accepting Warranty or Additional Liability. While redistributing
600
+ the Work or Derivative Works thereof, You may choose to offer,
601
+ and charge a fee for, acceptance of support, warranty, indemnity,
602
+ or other liability obligations and/or rights consistent with this
603
+ License. However, in accepting such obligations, You may act only
604
+ on Your own behalf and on Your sole responsibility, not on behalf
605
+ of any other Contributor, and only if You agree to indemnify,
606
+ defend, and hold each Contributor harmless for any liability
607
+ incurred by, or claims asserted against, such Contributor by reason
608
+ of your accepting any such warranty or additional liability.
609
+
610
+ END OF TERMS AND CONDITIONS
611
+
612
+ APPENDIX: How to apply the Apache License to your work.
613
+
614
+ To apply the Apache License to your work, attach the following
615
+ boilerplate notice, with the fields enclosed by brackets "[]"
616
+ replaced with your own identifying information. (Don't include
617
+ the brackets!) The text should be enclosed in the appropriate
618
+ comment syntax for the file format. We also recommend that a
619
+ file or class name and description of purpose be included on the
620
+ same "printed page" as the copyright notice for easier
621
+ identification within third-party archives.
622
+
623
+ Copyright [yyyy] [name of copyright owner]
624
+
625
+ Licensed under the Apache License, Version 2.0 (the "License");
626
+ you may not use this file except in compliance with the License.
627
+ You may obtain a copy of the License at
628
+
629
+ http://www.apache.org/licenses/LICENSE-2.0
630
+
631
+ Unless required by applicable law or agreed to in writing, software
632
+ distributed under the License is distributed on an "AS IS" BASIS,
633
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
634
+ See the License for the specific language governing permissions and
635
+ limitations under the License.
assets/pan2-logo-dark.png ADDED
assets/pan2-logo-light.png ADDED
assets/report/architecture.png ADDED

Git LFS Details

  • SHA256: c3624602b0a40ebdfde8f9a306c0ff4c909204d49b211a2213e596249cbb850b
  • Pointer size: 131 Bytes
  • Size of remote file: 608 kB
assets/report/captioning_pipeline.png ADDED

Git LFS Details

  • SHA256: c75380f542d6ee165b96f53b26ab105cd68db8bd08410ab98549a9782f2d09ea
  • Pointer size: 131 Bytes
  • Size of remote file: 257 kB
assets/report/data_taxonomy.png ADDED

Git LFS Details

  • SHA256: 1b2c638bddc2fbc2a278d1fb94115f000581dd0fe3f07db286813e59a9631a5c
  • Pointer size: 131 Bytes
  • Size of remote file: 620 kB
assets/report/results_benchmarks_dark.png ADDED

Git LFS Details

  • SHA256: f8a578dab24ab428a61ffcf894e242daf45a894aa8e58df712745947d5c30bf2
  • Pointer size: 131 Bytes
  • Size of remote file: 152 kB
assets/report/results_benchmarks_light.png ADDED

Git LFS Details

  • SHA256: 9e994eadadabfb36deb00042ac6c0c9dcf029394372135aadaaadcc16de88d18
  • Pointer size: 131 Bytes
  • Size of remote file: 152 kB
assets/report/results_capabilities_dark.png ADDED

Git LFS Details

  • SHA256: c1be87ff5bb4dc9093d499317ab4a9c7cbabfe497455e302a496e39f7d3843e1
  • Pointer size: 131 Bytes
  • Size of remote file: 193 kB
assets/report/results_capabilities_light.png ADDED

Git LFS Details

  • SHA256: 1700aaa82b1707b697bd972ef44bd5088627c01cbd47ba5ea62ea0c23fe679b2
  • Pointer size: 131 Bytes
  • Size of remote file: 194 kB
assets/report/results_human_dark.png ADDED

Git LFS Details

  • SHA256: 100c7534caf552ab5a6789ae1a43ebae07cb980f6455942b0efeccd343718989
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
assets/report/results_human_light.png ADDED

Git LFS Details

  • SHA256: cc9cb4f78bd424db3c6feca722ded548a9a8290193a57fe85de4567193a9f518
  • Pointer size: 131 Bytes
  • Size of remote file: 104 kB
assets/report/simulative_reasoning_puzzle.jpg ADDED

Git LFS Details

  • SHA256: 9f35fff98f7935da25c298a46473c466d0adf579090d92a6404ecd31f641242d
  • Pointer size: 131 Bytes
  • Size of remote file: 278 kB
assets/report/simulative_reasoning_surfing.jpg ADDED

Git LFS Details

  • SHA256: 488605139b02ed6e9b7ed8048bdcf909d5a5d19cff923d068a6e8f8e66e2a1fd
  • Pointer size: 131 Bytes
  • Size of remote file: 240 kB
assets/report/tier1_capabilities.png ADDED

Git LFS Details

  • SHA256: 609aa4da066e83de4f387c9d5c871e5d5b3c43d893c0b7d75a3db541f83106eb
  • Pointer size: 131 Bytes
  • Size of remote file: 445 kB
assets/report/tier2_tsr.png ADDED

Git LFS Details

  • SHA256: 0690e403a876c300fb7f582841bd441fdb4df2d47e6f344931374571cad5215b
  • Pointer size: 131 Bytes
  • Size of remote file: 568 kB
assets/video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:538786a8efcf4a71bff8f0cf405b6daae1bba7d16b8753bf922d073c2c0d9cab
3
+ size 79741832
assets/video_preview.gif ADDED

Git LFS Details

  • SHA256: 6c47afa2e7bb8b6d6d4fbb37677136244036e41ed181d0a9b7db490ae5000109
  • Pointer size: 132 Bytes
  • Size of remote file: 8.43 MB
modular_model_index.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "PAN2ModularPipeline",
3
+ "_diffusers_version": "0.41.0.dev0",
4
+ "_blocks_class_name": "PAN2Blocks",
5
+ "transformer": [
6
+ "diffusers",
7
+ "PAN2Transformer3DModel",
8
+ {
9
+ "type_hint": [
10
+ "diffusers",
11
+ "PAN2Transformer3DModel"
12
+ ],
13
+ "pretrained_model_name_or_path": "IFM/PAN2",
14
+ "subfolder": "transformer",
15
+ "variant": null,
16
+ "revision": null
17
+ }
18
+ ],
19
+ "vae": [
20
+ "diffusers",
21
+ "AutoencoderKLWan",
22
+ {
23
+ "type_hint": [
24
+ "diffusers",
25
+ "AutoencoderKLWan"
26
+ ],
27
+ "pretrained_model_name_or_path": "IFM/PAN2",
28
+ "subfolder": "vae",
29
+ "variant": null,
30
+ "revision": null
31
+ }
32
+ ],
33
+ "scheduler": [
34
+ "diffusers",
35
+ "FlowMatchEulerDiscreteScheduler",
36
+ {
37
+ "type_hint": [
38
+ "diffusers",
39
+ "FlowMatchEulerDiscreteScheduler"
40
+ ],
41
+ "pretrained_model_name_or_path": "IFM/PAN2",
42
+ "subfolder": "scheduler",
43
+ "variant": null,
44
+ "revision": null
45
+ }
46
+ ],
47
+ "text_encoder": [
48
+ "transformers",
49
+ "Qwen3_5TextModel",
50
+ {
51
+ "type_hint": [
52
+ "transformers",
53
+ "Qwen3_5TextModel"
54
+ ],
55
+ "pretrained_model_name_or_path": "IFM/PAN2",
56
+ "subfolder": "text_encoder",
57
+ "variant": null,
58
+ "revision": null
59
+ }
60
+ ],
61
+ "tokenizer": [
62
+ "transformers",
63
+ "Qwen2Tokenizer",
64
+ {
65
+ "type_hint": [
66
+ "transformers",
67
+ "Qwen2Tokenizer"
68
+ ],
69
+ "pretrained_model_name_or_path": "IFM/PAN2",
70
+ "subfolder": "tokenizer",
71
+ "variant": null,
72
+ "revision": null
73
+ }
74
+ ]
75
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "FlowMatchEulerDiscreteScheduler",
3
+ "_diffusers_version": "0.41.0.dev0",
4
+ "base_image_seq_len": 256,
5
+ "base_shift": 0.5,
6
+ "invert_sigmas": false,
7
+ "max_image_seq_len": 4096,
8
+ "max_shift": 1.15,
9
+ "num_train_timesteps": 1000,
10
+ "shift": 9.0,
11
+ "shift_terminal": null,
12
+ "stochastic_sampling": false,
13
+ "time_shift_type": "exponential",
14
+ "use_beta_sigmas": false,
15
+ "use_dynamic_shifting": false,
16
+ "use_exponential_sigmas": false,
17
+ "use_karras_sigmas": false
18
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5TextModel"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attn_output_gate": true,
8
+ "bos_token_id": null,
9
+ "dtype": "bfloat16",
10
+ "eos_token_id": 248044,
11
+ "full_attention_interval": 4,
12
+ "head_dim": 256,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 4096,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 12288,
17
+ "layer_types": [
18
+ "linear_attention",
19
+ "linear_attention",
20
+ "linear_attention",
21
+ "full_attention",
22
+ "linear_attention",
23
+ "linear_attention",
24
+ "linear_attention",
25
+ "full_attention",
26
+ "linear_attention",
27
+ "linear_attention",
28
+ "linear_attention",
29
+ "full_attention",
30
+ "linear_attention",
31
+ "linear_attention",
32
+ "linear_attention",
33
+ "full_attention",
34
+ "linear_attention",
35
+ "linear_attention",
36
+ "linear_attention",
37
+ "full_attention",
38
+ "linear_attention",
39
+ "linear_attention",
40
+ "linear_attention",
41
+ "full_attention",
42
+ "linear_attention",
43
+ "linear_attention",
44
+ "linear_attention",
45
+ "full_attention",
46
+ "linear_attention",
47
+ "linear_attention",
48
+ "linear_attention",
49
+ "full_attention"
50
+ ],
51
+ "linear_conv_kernel_dim": 4,
52
+ "linear_key_head_dim": 128,
53
+ "linear_num_key_heads": 16,
54
+ "linear_num_value_heads": 32,
55
+ "linear_value_head_dim": 128,
56
+ "mamba_ssm_dtype": "float32",
57
+ "max_position_embeddings": 262144,
58
+ "mlp_only_layers": [],
59
+ "model_type": "qwen3_5_text",
60
+ "mtp_num_hidden_layers": 1,
61
+ "mtp_use_dedicated_embeddings": false,
62
+ "num_attention_heads": 16,
63
+ "num_hidden_layers": 32,
64
+ "num_key_value_heads": 4,
65
+ "pad_token_id": null,
66
+ "partial_rotary_factor": 0.25,
67
+ "rms_norm_eps": 1e-06,
68
+ "rope_parameters": {
69
+ "mrope_interleaved": true,
70
+ "mrope_section": [
71
+ 11,
72
+ 11,
73
+ 10
74
+ ],
75
+ "partial_rotary_factor": 0.25,
76
+ "rope_theta": 10000000,
77
+ "rope_type": "default"
78
+ },
79
+ "tie_word_embeddings": false,
80
+ "transformers_version": "5.19.0",
81
+ "use_cache": true,
82
+ "vocab_size": 248320
83
+ }
text_encoder/model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74f209d5299e87bbcc7de2c12e3a4b49cb56a06cd0bed6ae9a60fd5432dd6c67
3
+ size 4973901040
text_encoder/model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:365021e5a60c859a936e23b879695f4c7bce2cc008541afe173efdbde0500bab
3
+ size 4988361936
text_encoder/model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91a8bd6ee80a0f126925c278c4e01ef2ffa8410490a369c3d619e6d350757d0e
3
+ size 4954199896
text_encoder/model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45d65389f300e39d4f56840c480ad791d9c6c49d3fc044962d83785b388b7192
3
+ size 956953032
text_encoder/model.safetensors.index.json ADDED
@@ -0,0 +1,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_parameters": 7936684544,
4
+ "total_size": 15873369088
5
+ },
6
+ "weight_map": {
7
+ "embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "layers.0.linear_attn.A_log": "model-00001-of-00004.safetensors",
10
+ "layers.0.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
11
+ "layers.0.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
12
+ "layers.0.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
13
+ "layers.0.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
14
+ "layers.0.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
15
+ "layers.0.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
16
+ "layers.0.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
17
+ "layers.0.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
18
+ "layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
19
+ "layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
20
+ "layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
21
+ "layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
22
+ "layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
23
+ "layers.1.linear_attn.A_log": "model-00001-of-00004.safetensors",
24
+ "layers.1.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
25
+ "layers.1.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
26
+ "layers.1.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
27
+ "layers.1.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
28
+ "layers.1.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
29
+ "layers.1.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
30
+ "layers.1.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
31
+ "layers.1.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
32
+ "layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
33
+ "layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
34
+ "layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
35
+ "layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
36
+ "layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
37
+ "layers.10.linear_attn.A_log": "model-00002-of-00004.safetensors",
38
+ "layers.10.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
39
+ "layers.10.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
40
+ "layers.10.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
41
+ "layers.10.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
42
+ "layers.10.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
43
+ "layers.10.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
44
+ "layers.10.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
45
+ "layers.10.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
46
+ "layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
47
+ "layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
48
+ "layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
49
+ "layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
50
+ "layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
51
+ "layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
52
+ "layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
53
+ "layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
54
+ "layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
55
+ "layers.11.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
56
+ "layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
57
+ "layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
58
+ "layers.11.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
59
+ "layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
60
+ "layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
61
+ "layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
62
+ "layers.12.linear_attn.A_log": "model-00002-of-00004.safetensors",
63
+ "layers.12.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
64
+ "layers.12.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
65
+ "layers.12.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
66
+ "layers.12.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
67
+ "layers.12.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
68
+ "layers.12.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
69
+ "layers.12.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
70
+ "layers.12.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
71
+ "layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
72
+ "layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
73
+ "layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
74
+ "layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
75
+ "layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
76
+ "layers.13.linear_attn.A_log": "model-00002-of-00004.safetensors",
77
+ "layers.13.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
78
+ "layers.13.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
79
+ "layers.13.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
80
+ "layers.13.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
81
+ "layers.13.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
82
+ "layers.13.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
83
+ "layers.13.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
84
+ "layers.13.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
85
+ "layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
86
+ "layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
87
+ "layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
88
+ "layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
89
+ "layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
90
+ "layers.14.linear_attn.A_log": "model-00002-of-00004.safetensors",
91
+ "layers.14.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
92
+ "layers.14.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
93
+ "layers.14.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
94
+ "layers.14.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
95
+ "layers.14.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
96
+ "layers.14.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
97
+ "layers.14.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
98
+ "layers.14.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
99
+ "layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
100
+ "layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
101
+ "layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
102
+ "layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
103
+ "layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
104
+ "layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
105
+ "layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
106
+ "layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
107
+ "layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
108
+ "layers.15.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
109
+ "layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
110
+ "layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
111
+ "layers.15.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
112
+ "layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
113
+ "layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
114
+ "layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
115
+ "layers.16.linear_attn.A_log": "model-00002-of-00004.safetensors",
116
+ "layers.16.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
117
+ "layers.16.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
118
+ "layers.16.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
119
+ "layers.16.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
120
+ "layers.16.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
121
+ "layers.16.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
122
+ "layers.16.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
123
+ "layers.16.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
124
+ "layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
125
+ "layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
126
+ "layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
127
+ "layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
128
+ "layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
129
+ "layers.17.linear_attn.A_log": "model-00002-of-00004.safetensors",
130
+ "layers.17.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
131
+ "layers.17.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
132
+ "layers.17.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
133
+ "layers.17.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
134
+ "layers.17.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
135
+ "layers.17.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
136
+ "layers.17.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
137
+ "layers.17.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
138
+ "layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
139
+ "layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
140
+ "layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
141
+ "layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
142
+ "layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
143
+ "layers.18.linear_attn.A_log": "model-00002-of-00004.safetensors",
144
+ "layers.18.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
145
+ "layers.18.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
146
+ "layers.18.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
147
+ "layers.18.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
148
+ "layers.18.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
149
+ "layers.18.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
150
+ "layers.18.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
151
+ "layers.18.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
152
+ "layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
153
+ "layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
154
+ "layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
155
+ "layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
156
+ "layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
157
+ "layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
158
+ "layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
159
+ "layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
160
+ "layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
161
+ "layers.19.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
162
+ "layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
163
+ "layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
164
+ "layers.19.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
165
+ "layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
166
+ "layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
167
+ "layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
168
+ "layers.2.linear_attn.A_log": "model-00001-of-00004.safetensors",
169
+ "layers.2.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
170
+ "layers.2.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
171
+ "layers.2.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
172
+ "layers.2.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
173
+ "layers.2.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
174
+ "layers.2.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
175
+ "layers.2.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
176
+ "layers.2.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
177
+ "layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
178
+ "layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
179
+ "layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
180
+ "layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
181
+ "layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
182
+ "layers.20.linear_attn.A_log": "model-00003-of-00004.safetensors",
183
+ "layers.20.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
184
+ "layers.20.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
185
+ "layers.20.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
186
+ "layers.20.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
187
+ "layers.20.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
188
+ "layers.20.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
189
+ "layers.20.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
190
+ "layers.20.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
191
+ "layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
192
+ "layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
193
+ "layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
194
+ "layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
195
+ "layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
196
+ "layers.21.linear_attn.A_log": "model-00003-of-00004.safetensors",
197
+ "layers.21.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
198
+ "layers.21.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
199
+ "layers.21.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
200
+ "layers.21.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
201
+ "layers.21.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
202
+ "layers.21.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
203
+ "layers.21.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
204
+ "layers.21.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
205
+ "layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
206
+ "layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
207
+ "layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
208
+ "layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
209
+ "layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
210
+ "layers.22.linear_attn.A_log": "model-00003-of-00004.safetensors",
211
+ "layers.22.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
212
+ "layers.22.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
213
+ "layers.22.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
214
+ "layers.22.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
215
+ "layers.22.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
216
+ "layers.22.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
217
+ "layers.22.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
218
+ "layers.22.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
219
+ "layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
220
+ "layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
221
+ "layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
222
+ "layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
223
+ "layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
224
+ "layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
225
+ "layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
226
+ "layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
227
+ "layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
228
+ "layers.23.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
229
+ "layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
230
+ "layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
231
+ "layers.23.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
232
+ "layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
233
+ "layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
234
+ "layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
235
+ "layers.24.linear_attn.A_log": "model-00003-of-00004.safetensors",
236
+ "layers.24.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
237
+ "layers.24.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
238
+ "layers.24.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
239
+ "layers.24.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
240
+ "layers.24.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
241
+ "layers.24.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
242
+ "layers.24.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
243
+ "layers.24.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
244
+ "layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
245
+ "layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
246
+ "layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
247
+ "layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
248
+ "layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
249
+ "layers.25.linear_attn.A_log": "model-00003-of-00004.safetensors",
250
+ "layers.25.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
251
+ "layers.25.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
252
+ "layers.25.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
253
+ "layers.25.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
254
+ "layers.25.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
255
+ "layers.25.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
256
+ "layers.25.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
257
+ "layers.25.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
258
+ "layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
259
+ "layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
260
+ "layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
261
+ "layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
262
+ "layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
263
+ "layers.26.linear_attn.A_log": "model-00003-of-00004.safetensors",
264
+ "layers.26.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
265
+ "layers.26.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
266
+ "layers.26.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
267
+ "layers.26.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
268
+ "layers.26.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
269
+ "layers.26.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
270
+ "layers.26.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
271
+ "layers.26.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
272
+ "layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
273
+ "layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
274
+ "layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
275
+ "layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
276
+ "layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
277
+ "layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
278
+ "layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
279
+ "layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
280
+ "layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
281
+ "layers.27.self_attn.k_norm.weight": "model-00003-of-00004.safetensors",
282
+ "layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
283
+ "layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
284
+ "layers.27.self_attn.q_norm.weight": "model-00003-of-00004.safetensors",
285
+ "layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
286
+ "layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
287
+ "layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
288
+ "layers.28.linear_attn.A_log": "model-00003-of-00004.safetensors",
289
+ "layers.28.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
290
+ "layers.28.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
291
+ "layers.28.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
292
+ "layers.28.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
293
+ "layers.28.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
294
+ "layers.28.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
295
+ "layers.28.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
296
+ "layers.28.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
297
+ "layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
298
+ "layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
299
+ "layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
300
+ "layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
301
+ "layers.29.input_layernorm.weight": "model-00004-of-00004.safetensors",
302
+ "layers.29.linear_attn.A_log": "model-00003-of-00004.safetensors",
303
+ "layers.29.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
304
+ "layers.29.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
305
+ "layers.29.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
306
+ "layers.29.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
307
+ "layers.29.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
308
+ "layers.29.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
309
+ "layers.29.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
310
+ "layers.29.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
311
+ "layers.29.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
312
+ "layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
313
+ "layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
314
+ "layers.29.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
315
+ "layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
316
+ "layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
317
+ "layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
318
+ "layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
319
+ "layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
320
+ "layers.3.self_attn.k_norm.weight": "model-00001-of-00004.safetensors",
321
+ "layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
322
+ "layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
323
+ "layers.3.self_attn.q_norm.weight": "model-00001-of-00004.safetensors",
324
+ "layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
325
+ "layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
326
+ "layers.30.input_layernorm.weight": "model-00004-of-00004.safetensors",
327
+ "layers.30.linear_attn.A_log": "model-00004-of-00004.safetensors",
328
+ "layers.30.linear_attn.conv1d.weight": "model-00004-of-00004.safetensors",
329
+ "layers.30.linear_attn.dt_bias": "model-00004-of-00004.safetensors",
330
+ "layers.30.linear_attn.in_proj_a.weight": "model-00004-of-00004.safetensors",
331
+ "layers.30.linear_attn.in_proj_b.weight": "model-00004-of-00004.safetensors",
332
+ "layers.30.linear_attn.in_proj_qkv.weight": "model-00004-of-00004.safetensors",
333
+ "layers.30.linear_attn.in_proj_z.weight": "model-00004-of-00004.safetensors",
334
+ "layers.30.linear_attn.norm.weight": "model-00004-of-00004.safetensors",
335
+ "layers.30.linear_attn.out_proj.weight": "model-00004-of-00004.safetensors",
336
+ "layers.30.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
337
+ "layers.30.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
338
+ "layers.30.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
339
+ "layers.30.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
340
+ "layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
341
+ "layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
342
+ "layers.31.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
343
+ "layers.31.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
344
+ "layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
345
+ "layers.31.self_attn.k_norm.weight": "model-00004-of-00004.safetensors",
346
+ "layers.31.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
347
+ "layers.31.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
348
+ "layers.31.self_attn.q_norm.weight": "model-00004-of-00004.safetensors",
349
+ "layers.31.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
350
+ "layers.31.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
351
+ "layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
352
+ "layers.4.linear_attn.A_log": "model-00001-of-00004.safetensors",
353
+ "layers.4.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
354
+ "layers.4.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
355
+ "layers.4.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
356
+ "layers.4.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
357
+ "layers.4.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
358
+ "layers.4.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
359
+ "layers.4.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
360
+ "layers.4.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
361
+ "layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
362
+ "layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
363
+ "layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
364
+ "layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
365
+ "layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
366
+ "layers.5.linear_attn.A_log": "model-00001-of-00004.safetensors",
367
+ "layers.5.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
368
+ "layers.5.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
369
+ "layers.5.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
370
+ "layers.5.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
371
+ "layers.5.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
372
+ "layers.5.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
373
+ "layers.5.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
374
+ "layers.5.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
375
+ "layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
376
+ "layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
377
+ "layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
378
+ "layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
379
+ "layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
380
+ "layers.6.linear_attn.A_log": "model-00001-of-00004.safetensors",
381
+ "layers.6.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
382
+ "layers.6.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
383
+ "layers.6.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
384
+ "layers.6.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
385
+ "layers.6.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
386
+ "layers.6.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
387
+ "layers.6.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
388
+ "layers.6.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
389
+ "layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
390
+ "layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
391
+ "layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
392
+ "layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
393
+ "layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
394
+ "layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
395
+ "layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
396
+ "layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
397
+ "layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
398
+ "layers.7.self_attn.k_norm.weight": "model-00002-of-00004.safetensors",
399
+ "layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
400
+ "layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
401
+ "layers.7.self_attn.q_norm.weight": "model-00002-of-00004.safetensors",
402
+ "layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
403
+ "layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
404
+ "layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
405
+ "layers.8.linear_attn.A_log": "model-00002-of-00004.safetensors",
406
+ "layers.8.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
407
+ "layers.8.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
408
+ "layers.8.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
409
+ "layers.8.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
410
+ "layers.8.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
411
+ "layers.8.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
412
+ "layers.8.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
413
+ "layers.8.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
414
+ "layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
415
+ "layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
416
+ "layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
417
+ "layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
418
+ "layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
419
+ "layers.9.linear_attn.A_log": "model-00002-of-00004.safetensors",
420
+ "layers.9.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
421
+ "layers.9.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
422
+ "layers.9.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
423
+ "layers.9.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
424
+ "layers.9.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
425
+ "layers.9.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
426
+ "layers.9.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
427
+ "layers.9.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
428
+ "layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
429
+ "layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
430
+ "layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
431
+ "layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
432
+ "norm.weight": "model-00004-of-00004.safetensors"
433
+ }
434
+ }
tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set image_count = namespace(value=0) %}
2
+ {%- set video_count = namespace(value=0) %}
3
+ {%- macro render_content(content, do_vision_count, is_system_content=false) %}
4
+ {%- if content is string %}
5
+ {{- content }}
6
+ {%- elif content is iterable and content is not mapping %}
7
+ {%- for item in content %}
8
+ {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
9
+ {%- if is_system_content %}
10
+ {{- raise_exception('System message cannot contain images.') }}
11
+ {%- endif %}
12
+ {%- if do_vision_count %}
13
+ {%- set image_count.value = image_count.value + 1 %}
14
+ {%- endif %}
15
+ {%- if add_vision_id %}
16
+ {{- 'Picture ' ~ image_count.value ~ ': ' }}
17
+ {%- endif %}
18
+ {{- '<|vision_start|><|image_pad|><|vision_end|>' }}
19
+ {%- elif 'video' in item or item.type == 'video' %}
20
+ {%- if is_system_content %}
21
+ {{- raise_exception('System message cannot contain videos.') }}
22
+ {%- endif %}
23
+ {%- if do_vision_count %}
24
+ {%- set video_count.value = video_count.value + 1 %}
25
+ {%- endif %}
26
+ {%- if add_vision_id %}
27
+ {{- 'Video ' ~ video_count.value ~ ': ' }}
28
+ {%- endif %}
29
+ {{- '<|vision_start|><|video_pad|><|vision_end|>' }}
30
+ {%- elif 'text' in item %}
31
+ {{- item.text }}
32
+ {%- else %}
33
+ {{- raise_exception('Unexpected item type in content.') }}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- elif content is none or content is undefined %}
37
+ {{- '' }}
38
+ {%- else %}
39
+ {{- raise_exception('Unexpected content type.') }}
40
+ {%- endif %}
41
+ {%- endmacro %}
42
+ {%- if not messages %}
43
+ {{- raise_exception('No messages provided.') }}
44
+ {%- endif %}
45
+ {%- if tools and tools is iterable and tools is not mapping %}
46
+ {{- '<|im_start|>system\n' }}
47
+ {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
48
+ {%- for tool in tools %}
49
+ {{- "\n" }}
50
+ {{- tool | tojson }}
51
+ {%- endfor %}
52
+ {{- "\n</tools>" }}
53
+ {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
54
+ {%- if messages[0].role == 'system' %}
55
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
56
+ {%- if content %}
57
+ {{- '\n\n' + content }}
58
+ {%- endif %}
59
+ {%- endif %}
60
+ {{- '<|im_end|>\n' }}
61
+ {%- else %}
62
+ {%- if messages[0].role == 'system' %}
63
+ {%- set content = render_content(messages[0].content, false, true)|trim %}
64
+ {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
65
+ {%- endif %}
66
+ {%- endif %}
67
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
68
+ {%- for message in messages[::-1] %}
69
+ {%- set index = (messages|length - 1) - loop.index0 %}
70
+ {%- if ns.multi_step_tool and message.role == "user" %}
71
+ {%- set content = render_content(message.content, false)|trim %}
72
+ {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
73
+ {%- set ns.multi_step_tool = false %}
74
+ {%- set ns.last_query_index = index %}
75
+ {%- endif %}
76
+ {%- endif %}
77
+ {%- endfor %}
78
+ {%- if ns.multi_step_tool %}
79
+ {{- raise_exception('No user query found in messages.') }}
80
+ {%- endif %}
81
+ {%- for message in messages %}
82
+ {%- set content = render_content(message.content, true)|trim %}
83
+ {%- if message.role == "system" %}
84
+ {%- if not loop.first %}
85
+ {{- raise_exception('System message must be at the beginning.') }}
86
+ {%- endif %}
87
+ {%- elif message.role == "user" %}
88
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
89
+ {%- elif message.role == "assistant" %}
90
+ {%- set reasoning_content = '' %}
91
+ {%- if message.reasoning_content is string %}
92
+ {%- set reasoning_content = message.reasoning_content %}
93
+ {%- else %}
94
+ {%- if '</think>' in content %}
95
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
96
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
97
+ {%- endif %}
98
+ {%- endif %}
99
+ {%- set reasoning_content = reasoning_content|trim %}
100
+ {%- if loop.index0 > ns.last_query_index %}
101
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
102
+ {%- else %}
103
+ {{- '<|im_start|>' + message.role + '\n' + content }}
104
+ {%- endif %}
105
+ {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
106
+ {%- for tool_call in message.tool_calls %}
107
+ {%- if tool_call.function is defined %}
108
+ {%- set tool_call = tool_call.function %}
109
+ {%- endif %}
110
+ {%- if loop.first %}
111
+ {%- if content|trim %}
112
+ {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
113
+ {%- else %}
114
+ {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
115
+ {%- endif %}
116
+ {%- else %}
117
+ {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
118
+ {%- endif %}
119
+ {%- if tool_call.arguments is defined %}
120
+ {%- for args_name, args_value in tool_call.arguments|items %}
121
+ {{- '<parameter=' + args_name + '>\n' }}
122
+ {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
123
+ {{- args_value }}
124
+ {{- '\n</parameter>\n' }}
125
+ {%- endfor %}
126
+ {%- endif %}
127
+ {{- '</function>\n</tool_call>' }}
128
+ {%- endfor %}
129
+ {%- endif %}
130
+ {{- '<|im_end|>\n' }}
131
+ {%- elif message.role == "tool" %}
132
+ {%- if loop.previtem and loop.previtem.role != "tool" %}
133
+ {{- '<|im_start|>user' }}
134
+ {%- endif %}
135
+ {{- '\n<tool_response>\n' }}
136
+ {{- content }}
137
+ {{- '\n</tool_response>' }}
138
+ {%- if not loop.last and loop.nextitem.role != "tool" %}
139
+ {{- '<|im_end|>\n' }}
140
+ {%- elif loop.last %}
141
+ {{- '<|im_end|>\n' }}
142
+ {%- endif %}
143
+ {%- else %}
144
+ {{- raise_exception('Unexpected message role.') }}
145
+ {%- endif %}
146
+ {%- endfor %}
147
+ {%- if add_generation_prompt %}
148
+ {{- '<|im_start|>assistant\n' }}
149
+ {%- if enable_thinking is defined and enable_thinking is false %}
150
+ {{- '<think>\n\n</think>\n\n' }}
151
+ {%- else %}
152
+ {{- '<think>\n' }}
153
+ {%- endif %}
154
+ {%- endif %}
tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f
3
+ size 19989339
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "extra_special_tokens": [
12
+ "<|im_start|>",
13
+ "<|im_end|>",
14
+ "<|object_ref_start|>",
15
+ "<|object_ref_end|>",
16
+ "<|box_start|>",
17
+ "<|box_end|>",
18
+ "<|quad_start|>",
19
+ "<|quad_end|>",
20
+ "<|vision_start|>",
21
+ "<|vision_end|>",
22
+ "<|vision_pad|>",
23
+ "<|image_pad|>",
24
+ "<|video_pad|>"
25
+ ],
26
+ "image_token": "<|image_pad|>",
27
+ "is_local": true,
28
+ "local_files_only": true,
29
+ "merges_file": null,
30
+ "model_max_length": 262144,
31
+ "model_specific_special_tokens": {
32
+ "audio_bos_token": "<|audio_start|>",
33
+ "audio_eos_token": "<|audio_end|>",
34
+ "audio_token": "<|audio_pad|>",
35
+ "image_token": "<|image_pad|>",
36
+ "video_token": "<|video_pad|>",
37
+ "vision_bos_token": "<|vision_start|>",
38
+ "vision_eos_token": "<|vision_end|>"
39
+ },
40
+ "pad_token": "<|endoftext|>",
41
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
42
+ "split_special_tokens": false,
43
+ "tokenizer_class": "Qwen3_5Tokenizer",
44
+ "unk_token": null,
45
+ "video_token": "<|video_pad|>",
46
+ "vision_bos_token": "<|vision_start|>",
47
+ "vision_eos_token": "<|vision_end|>"
48
+ }
transformer/config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "PAN2Transformer3DModel",
3
+ "_diffusers_version": "0.41.0.dev0",
4
+ "attention_head_dim": 128,
5
+ "context_mlp_ratio": 4.0,
6
+ "in_channels": 97,
7
+ "mlp_ratio": 8.0,
8
+ "num_attention_heads": 32,
9
+ "num_layers": 44,
10
+ "num_refiner_layers": 4,
11
+ "out_channels": 48,
12
+ "patch_size": [
13
+ 1,
14
+ 2,
15
+ 2
16
+ ],
17
+ "refiner_mlp_ratio": 4.0,
18
+ "rope_axes_dim": [
19
+ 16,
20
+ 56,
21
+ 56
22
+ ],
23
+ "rope_temporal_scale": 0.6666666666666666,
24
+ "rope_theta": 256.0,
25
+ "text_embed_dim": 4096
26
+ }
transformer/diffusion_pytorch_model-00001-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8738b02827609e260992ff4d61b28f4794b849e9a7e728cf7052a4d4edf03da8
3
+ size 4940734352
transformer/diffusion_pytorch_model-00002-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cdf7d2461bba6a56d81b38a536d7696aae796956ab73b275b4cb9762e779a07
3
+ size 4698904784
transformer/diffusion_pytorch_model-00003-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef0b058d1936791187662d1f1160d942529b35ca4c26d2666d0f7e7d9e670eaf
3
+ size 4967333320
transformer/diffusion_pytorch_model-00004-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2b875b3aff19f83153ecb0901cebbcf73003b0ee0477d769e6b3a59557f4d13
3
+ size 4833082928
transformer/diffusion_pytorch_model-00005-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ceebe0ef17fcf2e0ef2e012b9e8994df571cea23d26d3c26d8301f0b7833412
3
+ size 4967348760
transformer/diffusion_pytorch_model-00006-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c047d21312f1dc986daddff49f3fb8e112738e22f911880381243a9a8a70d9e
3
+ size 4967333424
transformer/diffusion_pytorch_model-00007-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9684e8fde9c4370c5705d1777593281b9f77fadd0ba6403ba2289cf1377ec581
3
+ size 4833082976
transformer/diffusion_pytorch_model-00008-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dc09ad83b933de66fd73a67abf59eb8c0b6c009c98637d07cce9d6098405e76
3
+ size 4967348760
transformer/diffusion_pytorch_model-00009-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ade00b40e0b0c5de581281bd7e1bd1daf642d57058a4f008b3aca646a07cf2c
3
+ size 4967333424
transformer/diffusion_pytorch_model-00010-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9142716e0ae6b60d6c6f68807ca2345df89d89db102cf406d7d607732d39c0d4
3
+ size 4833082976
transformer/diffusion_pytorch_model-00011-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc81fdbaf9dc91421a9209d34e2bdd9779ac94793a244dde6197b45f1542fb79
3
+ size 4967348760
transformer/diffusion_pytorch_model-00012-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e7fa833fbb80f15c306fed80e7fff23dc2cd1751a444dfb00b61f2ad1b46772
3
+ size 4967333424
transformer/diffusion_pytorch_model-00013-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53eb3cede5a5398f5d08c6e48401c48cf126d67792e3c0e8c48f5ab72d8b4b6a
3
+ size 4833082976
transformer/diffusion_pytorch_model-00014-of-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b43305eabf267ec14006583bca996888ccd9a05ad0d28ec1b144235451c2645a
3
+ size 3626297928
transformer/diffusion_pytorch_model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
vae/config.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKLWan",
3
+ "_diffusers_version": "0.41.0.dev0",
4
+ "_name_or_path": "Wan-AI/Wan2.2-TI2V-5B-Diffusers",
5
+ "attn_scales": [],
6
+ "base_dim": 160,
7
+ "clip_output": false,
8
+ "decoder_base_dim": 256,
9
+ "dim_mult": [
10
+ 1,
11
+ 2,
12
+ 4,
13
+ 4
14
+ ],
15
+ "dropout": 0.0,
16
+ "in_channels": 12,
17
+ "is_residual": true,
18
+ "latents_mean": [
19
+ -0.2289,
20
+ -0.0052,
21
+ -0.1323,
22
+ -0.2339,
23
+ -0.2799,
24
+ 0.0174,
25
+ 0.1838,
26
+ 0.1557,
27
+ -0.1382,
28
+ 0.0542,
29
+ 0.2813,
30
+ 0.0891,
31
+ 0.157,
32
+ -0.0098,
33
+ 0.0375,
34
+ -0.1825,
35
+ -0.2246,
36
+ -0.1207,
37
+ -0.0698,
38
+ 0.5109,
39
+ 0.2665,
40
+ -0.2108,
41
+ -0.2158,
42
+ 0.2502,
43
+ -0.2055,
44
+ -0.0322,
45
+ 0.1109,
46
+ 0.1567,
47
+ -0.0729,
48
+ 0.0899,
49
+ -0.2799,
50
+ -0.123,
51
+ -0.0313,
52
+ -0.1649,
53
+ 0.0117,
54
+ 0.0723,
55
+ -0.2839,
56
+ -0.2083,
57
+ -0.052,
58
+ 0.3748,
59
+ 0.0152,
60
+ 0.1957,
61
+ 0.1433,
62
+ -0.2944,
63
+ 0.3573,
64
+ -0.0548,
65
+ -0.1681,
66
+ -0.0667
67
+ ],
68
+ "latents_std": [
69
+ 0.4765,
70
+ 1.0364,
71
+ 0.4514,
72
+ 1.1677,
73
+ 0.5313,
74
+ 0.499,
75
+ 0.4818,
76
+ 0.5013,
77
+ 0.8158,
78
+ 1.0344,
79
+ 0.5894,
80
+ 1.0901,
81
+ 0.6885,
82
+ 0.6165,
83
+ 0.8454,
84
+ 0.4978,
85
+ 0.5759,
86
+ 0.3523,
87
+ 0.7135,
88
+ 0.6804,
89
+ 0.5833,
90
+ 1.4146,
91
+ 0.8986,
92
+ 0.5659,
93
+ 0.7069,
94
+ 0.5338,
95
+ 0.4889,
96
+ 0.4917,
97
+ 0.4069,
98
+ 0.4999,
99
+ 0.6866,
100
+ 0.4093,
101
+ 0.5709,
102
+ 0.6065,
103
+ 0.6415,
104
+ 0.4944,
105
+ 0.5726,
106
+ 1.2042,
107
+ 0.5458,
108
+ 1.6887,
109
+ 0.3971,
110
+ 1.06,
111
+ 0.3943,
112
+ 0.5537,
113
+ 0.5444,
114
+ 0.4089,
115
+ 0.7468,
116
+ 0.7744
117
+ ],
118
+ "num_res_blocks": 2,
119
+ "out_channels": 12,
120
+ "patch_size": 2,
121
+ "scale_factor_spatial": 16,
122
+ "scale_factor_temporal": 4,
123
+ "temperal_downsample": [
124
+ false,
125
+ true,
126
+ true
127
+ ],
128
+ "z_dim": 48
129
+ }