zR
commited on
Commit
•
3035108
1
Parent(s):
56dad16
init
Browse files- LICENSE +71 -0
- README.md +91 -0
- README_zh.md +81 -0
LICENSE
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The CogVideoX License
|
2 |
+
|
3 |
+
1. Definitions
|
4 |
+
|
5 |
+
“Licensor” means the CogVideoX Model Team that distributes its Software.
|
6 |
+
|
7 |
+
“Software” means the CogVideoX model parameters made available under this license.
|
8 |
+
|
9 |
+
2. License Grant
|
10 |
+
|
11 |
+
Under the terms and conditions of this license, the licensor hereby grants you a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable, royalty-free copyright license. The intellectual property rights of the generated content belong to the user to the extent permitted by applicable local laws.
|
12 |
+
This license allows you to freely use all open-source models in this repository for academic research. Users who wish to use the models for commercial purposes must register and obtain a basic commercial license in https://open.bigmodel.cn/mla/form .
|
13 |
+
Users who have registered and obtained the basic commercial license can use the models for commercial activities for free, but must comply with all terms and conditions of this license. Additionally, the number of service users (visits) for your commercial activities must not exceed 1 million visits per month.
|
14 |
+
If the number of service users (visits) for your commercial activities exceeds 1 million visits per month, you need to contact our business team to obtain more commercial licenses.
|
15 |
+
The above copyright statement and this license statement should be included in all copies or significant portions of this software.
|
16 |
+
|
17 |
+
3. Restriction
|
18 |
+
|
19 |
+
You will not use, copy, modify, merge, publish, distribute, reproduce, or create derivative works of the Software, in whole or in part, for any military, or illegal purposes.
|
20 |
+
|
21 |
+
You will not use the Software for any act that may undermine China's national security and national unity, harm the public interest of society, or infringe upon the rights and interests of human beings.
|
22 |
+
|
23 |
+
4. Disclaimer
|
24 |
+
|
25 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26 |
+
|
27 |
+
5. Limitation of Liability
|
28 |
+
|
29 |
+
EXCEPT TO THE EXTENT PROHIBITED BY APPLICABLE LAW, IN NO EVENT AND UNDER NO LEGAL THEORY, WHETHER BASED IN TORT, NEGLIGENCE, CONTRACT, LIABILITY, OR OTHERWISE WILL ANY LICENSOR BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, OR ANY OTHER COMMERCIAL LOSSES, EVEN IF THE LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
30 |
+
|
31 |
+
6. Dispute Resolution
|
32 |
+
|
33 |
+
This license shall be governed and construed in accordance with the laws of People’s Republic of China. Any dispute arising from or in connection with this License shall be submitted to Haidian District People's Court in Beijing.
|
34 |
+
|
35 |
+
Note that the license is subject to update to a more comprehensive version. For any questions related to the license and copyright, please contact us at [email protected].
|
36 |
+
|
37 |
+
1. 定义
|
38 |
+
|
39 |
+
“许可方”是指分发其软件的 CogVideoX 模型团队。
|
40 |
+
|
41 |
+
“软件”是指根据本许可提供的 CogVideoX 模型参数。
|
42 |
+
|
43 |
+
2. 许可授予
|
44 |
+
|
45 |
+
根据本许可的条款和条件,许可方特此授予您非排他性、全球性、不可转让、不可再许可、可撤销、免版税的版权许可。生成内容的知识产权所属,可根据适用当地法律的规定,在法律允许的范围内由用户享有生成内容的知识产权或其他权利。
|
46 |
+
本许可允许您免费使用本仓库中的所有开源模型进行学术研究。对于希望将模型用于商业目的的用户,需在 https://open.bigmodel.cn/mla/form 完成登记并获得基础商用授权。
|
47 |
+
|
48 |
+
经过登记并获得基础商用授权的用户可以免费使用本模型进行商业活动,但必须遵守本许可的所有条款和条件。
|
49 |
+
在本许可证下,您的商业活动的服务用户数量(访问量)不得超过100万人次访问 / 每月。如果超过,您需要与我们的商业团队联系以获得更多的商业许可。
|
50 |
+
上述版权声明和本许可声明应包含在本软件的所有副本或重要部分中。
|
51 |
+
|
52 |
+
3.限制
|
53 |
+
|
54 |
+
您不得出于任何军事或非法目的使用、复制、修改、合并、发布、分发、复制或创建本软件的全部或部分衍生作品。
|
55 |
+
|
56 |
+
您不得利用本软件从事任何危害国家安全和国家统一、危害社会公共利益、侵犯人身权益的行为。
|
57 |
+
|
58 |
+
4.免责声明
|
59 |
+
|
60 |
+
本软件“按原样”提供,不提供任何明示或暗示的保证,包括但不限于对适销性、特定用途的适用性和非侵权性的保证。
|
61 |
+
在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是在合同诉讼、侵权行为还是其他方面,由软件或软件的使用或其他交易引起、由软件引起或与之相关 软件。
|
62 |
+
|
63 |
+
5. 责任限制
|
64 |
+
|
65 |
+
除适用��律禁止的范围外,在任何情况下且根据任何法律理论,无论是基于侵权行为、疏忽、合同、责任或其他原因,任何许可方均不对您承担任何直接、间接、特殊、偶然、示范性、 或间接损害,或任何其他商业损失,即使许可人已被告知此类损害的可能性。
|
66 |
+
|
67 |
+
6.争议解决
|
68 |
+
|
69 |
+
本许可受中华人民共和国法律管辖并按其解释。 因本许可引起的或与本许可有关的任何争议应提交北京市海淀区人民法院。
|
70 |
+
|
71 |
+
请注意,许可证可能会更新到更全面的版本。 有关许可和版权的任何问题,请通过 [email protected] 与我们联系。
|
README.md
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
base_model:
|
6 |
+
- THUDM/CogVideoX-5b
|
7 |
+
- THUDM/CogVideoX-5b-I2V
|
8 |
+
pipeline_tag: image-to-image
|
9 |
+
---
|
10 |
+
|
11 |
+
# CogVideoX1.1-5B-SAT
|
12 |
+
|
13 |
+
<p style="text-align: center;">
|
14 |
+
<div align="center">
|
15 |
+
<img src=https://modelscope.oss-cn-beijing.aliyuncs.com/resource/cogvideologo.svg width="50%"/>
|
16 |
+
</div>
|
17 |
+
<p align="center">
|
18 |
+
<a href="README_zh.md">📄 中文阅读</a> |
|
19 |
+
<a href="https://github.com/THUDM/CogVideo">🌐 Github </a> |
|
20 |
+
<a href="https://arxiv.org/pdf/2408.06072">📜 arxiv </a>
|
21 |
+
</p>
|
22 |
+
<p align="center">
|
23 |
+
📍 Visit <a href="https://chatglm.cn/video?lang=en?fr=osm_cogvideo">QingYing</a> and <a href="https://open.bigmodel.cn/?utm_campaign=open&_channel_track_key=OWTVNma9">API Platform</a> to experience commercial video generation models.
|
24 |
+
</p>
|
25 |
+
|
26 |
+
CogVideoX is an open-source video generation model originating from [Qingying](https://chatglm.cn/video?fr=osm_cogvideo). CogVideoX1.1 is the upgraded version of the open-source CogVideoX model.
|
27 |
+
|
28 |
+
The CogVideoX1.1-5B series model supports **10-second** videos and higher resolutions. The `CogVideoX1.1-5B-I2V` variant supports **any resolution** for video generation.
|
29 |
+
|
30 |
+
This repository contains the SAT-weight version of the CogVideoX1.1-5B model, specifically including the following modules:
|
31 |
+
|
32 |
+
## Transformer
|
33 |
+
|
34 |
+
Includes weights for both I2V and T2V models. Specifically, it includes the following modules:
|
35 |
+
|
36 |
+
```
|
37 |
+
├── transformer_i2v
|
38 |
+
│ ├── 1000
|
39 |
+
│ │ └── mp_rank_00_model_states.pt
|
40 |
+
│ └── latest
|
41 |
+
└── transformer_t2v
|
42 |
+
├── 1000
|
43 |
+
│ └── mp_rank_00_model_states.pt
|
44 |
+
└── latest
|
45 |
+
```
|
46 |
+
|
47 |
+
Please select the corresponding weights when performing inference.
|
48 |
+
|
49 |
+
## VAE
|
50 |
+
|
51 |
+
The VAE part is consistent with the CogVideoX-5B series and does not require updating. You can also download it directly from here. Specifically, it includes the following modules:
|
52 |
+
|
53 |
+
```
|
54 |
+
└── vae
|
55 |
+
└── 3d-vae.pt
|
56 |
+
```
|
57 |
+
|
58 |
+
## Text Encoder
|
59 |
+
|
60 |
+
Consistent with the diffusers version of CogVideoX-5B, no updates are necessary. You can also download it directly from here. Specifically, it includes the following modules:
|
61 |
+
|
62 |
+
```
|
63 |
+
├── t5-v1_1-xxl
|
64 |
+
├── added_tokens.json
|
65 |
+
├── config.json
|
66 |
+
├── model-00001-of-00002.safetensors
|
67 |
+
├── model-00002-of-00002.safetensors
|
68 |
+
├── model.safetensors.index.json
|
69 |
+
├── special_tokens_map.json
|
70 |
+
├── spiece.model
|
71 |
+
└── tokenizer_config.json
|
72 |
+
|
73 |
+
|
74 |
+
0 directories, 8 files
|
75 |
+
```
|
76 |
+
|
77 |
+
## Model License
|
78 |
+
|
79 |
+
This model is released under the [CogVideoX LICENSE](LICENSE).
|
80 |
+
|
81 |
+
## Citation
|
82 |
+
|
83 |
+
```
|
84 |
+
@article{yang2024cogvideox,
|
85 |
+
title={CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer},
|
86 |
+
author={Yang, Zhuoyi and Teng, Jiayan and Zheng, Wendi and Ding, Ming and Huang, Shiyu and Xu, Jiazheng and Yang, Yuanming and Hong, Wenyi and Zhang, Xiaohan and Feng, Guanyu and others},
|
87 |
+
journal={arXiv preprint arXiv:2408.06072},
|
88 |
+
year={2024}
|
89 |
+
}
|
90 |
+
```
|
91 |
+
|
README_zh.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
# CogVideoX1.1-5B-SAT
|
3 |
+
|
4 |
+
<p style="text-align: center;">
|
5 |
+
<div align="center">
|
6 |
+
<img src=https://github.com/THUDM/CogVideo/raw/main/resources/logo.svg width="50%"/>
|
7 |
+
</div>
|
8 |
+
<p align="center">
|
9 |
+
<a href="README_en.md">📄 Read in English</a> |
|
10 |
+
<a href="https://github.com/THUDM/CogVideo">🌐 Github </a> |
|
11 |
+
<a href="https://arxiv.org/pdf/2408.06072">📜 arxiv </a>
|
12 |
+
</p>
|
13 |
+
<p align="center">
|
14 |
+
📍 前往<a href="https://chatglm.cn/video?fr=osm_cogvideox"> 清影</a> 和 <a href="https://open.bigmodel.cn/?utm_campaign=open&_channel_track_key=OWTVNma9"> API平台</a> 体验商业版视频生成模型
|
15 |
+
</p>
|
16 |
+
|
17 |
+
CogVideoX是 [清影](https://chatglm.cn/video?fr=osm_cogvideo) 同源的开源版本视频生成模型。CogVideoX1.1 是 CogVideoX 开源模型的升级版本。
|
18 |
+
|
19 |
+
CogVideoX1.1-5B 系列模型支持 **10秒** 长度的视频和更高的分辨率,其中 `CogVideoX1.1-5B-I2V` 支持 **任意分辨率** 的视频生成。
|
20 |
+
|
21 |
+
本仓库存放了 CogVideoX1.1-5B 模型的 SAT 权重版本。具体来说,包含了如下模块:
|
22 |
+
|
23 |
+
|
24 |
+
## Transformer
|
25 |
+
|
26 |
+
包含了I2V和T2V两个模型的权重。具体来说,包含了如下模块:
|
27 |
+
```
|
28 |
+
├── transformer_i2v
|
29 |
+
│ ├── 1000
|
30 |
+
│ │ └── mp_rank_00_model_states.pt
|
31 |
+
│ └── latest
|
32 |
+
└── transformer_t2v
|
33 |
+
├── 1000
|
34 |
+
│ └── mp_rank_00_model_states.pt
|
35 |
+
└── latest
|
36 |
+
```
|
37 |
+
|
38 |
+
请在推理的时候选择对应的权重进行推理。
|
39 |
+
|
40 |
+
## VAE
|
41 |
+
|
42 |
+
VAE部分与 CogVideoX-5B 系列一致,无需更新。你也可以直接从这里下载。具体来说,包含了如下模块:
|
43 |
+
```
|
44 |
+
└── vae
|
45 |
+
└── 3d-vae.pt
|
46 |
+
```
|
47 |
+
|
48 |
+
## Text Encoder
|
49 |
+
|
50 |
+
与 diffusers 版本的 CogVideoX-5B 一致,无需更新。
|
51 |
+
你也可以直接从这里下载。具体来说,包含了如下模块:
|
52 |
+
```
|
53 |
+
├── t5-v1_1-xxl
|
54 |
+
├── added_tokens.json
|
55 |
+
├── config.json
|
56 |
+
├── model-00001-of-00002.safetensors
|
57 |
+
├── model-00002-of-00002.safetensors
|
58 |
+
├── model.safetensors.index.json
|
59 |
+
├── special_tokens_map.json
|
60 |
+
├── spiece.model
|
61 |
+
└── tokenizer_config.json
|
62 |
+
|
63 |
+
|
64 |
+
0 directories, 8 files
|
65 |
+
|
66 |
+
```
|
67 |
+
|
68 |
+
## 模型协议
|
69 |
+
|
70 |
+
该模型根据 [CogVideoX LICENSE](LICENSE) 许可证发布。
|
71 |
+
|
72 |
+
## 引用
|
73 |
+
|
74 |
+
```
|
75 |
+
@article{yang2024cogvideox,
|
76 |
+
title={CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer},
|
77 |
+
author={Yang, Zhuoyi and Teng, Jiayan and Zheng, Wendi and Ding, Ming and Huang, Shiyu and Xu, Jiazheng and Yang, Yuanming and Hong, Wenyi and Zhang, Xiaohan and Feng, Guanyu and others},
|
78 |
+
journal={arXiv preprint arXiv:2408.06072},
|
79 |
+
year={2024}
|
80 |
+
}
|
81 |
+
```
|