Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +59 -0
- .gitignore +32 -0
- LICENSE +201 -0
- README.md +587 -0
- README_zh.md +587 -0
- SECURITY.md +11 -0
- assets/benchmarks/benchmark-overview.png +3 -0
- assets/image-editing/image-editing-overview.webp +3 -0
- assets/image-understanding/cases/image-understanding-case-01.png +3 -0
- assets/image-understanding/cases/image-understanding-case-02.png +0 -0
- assets/image-understanding/cases/image-understanding-case-03.png +3 -0
- assets/image-understanding/cases/image-understanding-case-04.png +3 -0
- assets/image-understanding/cases/image-understanding-case-05.png +3 -0
- assets/image-understanding/cases/image-understanding-case-06.png +3 -0
- assets/intelligent-video/previews/intelligent-video-demo-01.gif +0 -0
- assets/intelligent-video/previews/intelligent-video-demo-02.gif +0 -0
- assets/intelligent-video/previews/intelligent-video-demo-03.gif +0 -0
- assets/intelligent-video/previews/intelligent-video-demo-04.gif +0 -0
- assets/intelligent-video/videos/intelligent-video-demo-01.mp4 +0 -0
- assets/intelligent-video/videos/intelligent-video-demo-02.mp4 +0 -0
- assets/intelligent-video/videos/intelligent-video-demo-03.mp4 +0 -0
- assets/intelligent-video/videos/intelligent-video-demo-04.mp4 +0 -0
- assets/logo/lance-logo.webp +3 -0
- assets/multi-turn-editing/previews/multi-turn-editing-demo-01.gif +3 -0
- assets/multi-turn-editing/videos/multi-turn-editing-demo-01.mp4 +3 -0
- assets/text-to-image/text-to-image-overview.webp +3 -0
- assets/text-to-video/previews/text-to-video-demo-01.gif +3 -0
- assets/text-to-video/previews/text-to-video-demo-02.gif +3 -0
- assets/text-to-video/previews/text-to-video-demo-03.gif +3 -0
- assets/text-to-video/previews/text-to-video-demo-04.gif +3 -0
- assets/text-to-video/previews/text-to-video-demo-05.gif +3 -0
- assets/text-to-video/previews/text-to-video-demo-06.gif +3 -0
- assets/text-to-video/previews/text-to-video-demo-07.gif +3 -0
- assets/text-to-video/previews/text-to-video-demo-08.gif +3 -0
- assets/text-to-video/videos/text-to-video-demo-01.mp4 +3 -0
- assets/text-to-video/videos/text-to-video-demo-02.mp4 +3 -0
- assets/text-to-video/videos/text-to-video-demo-03.mp4 +3 -0
- assets/text-to-video/videos/text-to-video-demo-04.mp4 +3 -0
- assets/text-to-video/videos/text-to-video-demo-05.mp4 +3 -0
- assets/text-to-video/videos/text-to-video-demo-06.mp4 +3 -0
- assets/text-to-video/videos/text-to-video-demo-07.mp4 +3 -0
- assets/text-to-video/videos/text-to-video-demo-08.mp4 +3 -0
- assets/video-editing/previews/video-editing-demo-01.gif +3 -0
- assets/video-editing/previews/video-editing-demo-02.gif +3 -0
- assets/video-editing/previews/video-editing-demo-03.gif +3 -0
- assets/video-editing/previews/video-editing-demo-04.gif +3 -0
- assets/video-editing/previews/video-editing-demo-05.gif +3 -0
- assets/video-editing/previews/video-editing-demo-06.gif +3 -0
- assets/video-editing/previews/video-editing-demo-07.gif +3 -0
- assets/video-editing/previews/video-editing-demo-08.gif +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,62 @@ saved_model/**/* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
assets/benchmarks/benchmark-overview.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/image-editing/image-editing-overview.webp filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/image-understanding/cases/image-understanding-case-01.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
assets/image-understanding/cases/image-understanding-case-03.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
assets/image-understanding/cases/image-understanding-case-04.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/image-understanding/cases/image-understanding-case-05.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
assets/image-understanding/cases/image-understanding-case-06.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
assets/logo/lance-logo.webp filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
assets/multi-turn-editing/previews/multi-turn-editing-demo-01.gif filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
assets/multi-turn-editing/videos/multi-turn-editing-demo-01.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
assets/text-to-image/text-to-image-overview.webp filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
assets/text-to-video/previews/text-to-video-demo-01.gif filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
assets/text-to-video/previews/text-to-video-demo-02.gif filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
assets/text-to-video/previews/text-to-video-demo-03.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
assets/text-to-video/previews/text-to-video-demo-04.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
assets/text-to-video/previews/text-to-video-demo-05.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
assets/text-to-video/previews/text-to-video-demo-06.gif filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
assets/text-to-video/previews/text-to-video-demo-07.gif filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
assets/text-to-video/previews/text-to-video-demo-08.gif filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
assets/text-to-video/videos/text-to-video-demo-01.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
assets/text-to-video/videos/text-to-video-demo-02.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
assets/text-to-video/videos/text-to-video-demo-03.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
assets/text-to-video/videos/text-to-video-demo-04.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
assets/text-to-video/videos/text-to-video-demo-05.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
assets/text-to-video/videos/text-to-video-demo-06.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
assets/text-to-video/videos/text-to-video-demo-07.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
assets/text-to-video/videos/text-to-video-demo-08.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
assets/video-editing/previews/video-editing-demo-01.gif filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
assets/video-editing/previews/video-editing-demo-02.gif filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
assets/video-editing/previews/video-editing-demo-03.gif filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
assets/video-editing/previews/video-editing-demo-04.gif filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
assets/video-editing/previews/video-editing-demo-05.gif filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
assets/video-editing/previews/video-editing-demo-06.gif filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
assets/video-editing/previews/video-editing-demo-07.gif filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
assets/video-editing/previews/video-editing-demo-08.gif filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
assets/video-editing/videos/video-editing-demo-01.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
assets/video-editing/videos/video-editing-demo-02.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
assets/video-editing/videos/video-editing-demo-03.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
assets/video-editing/videos/video-editing-demo-04.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
assets/video-editing/videos/video-editing-demo-05.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
assets/video-editing/videos/video-editing-demo-06.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
assets/video-editing/videos/video-editing-demo-07.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
assets/video-editing/videos/video-editing-demo-08.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
assets/video-understanding/previews/video-understanding-caption-long-01.gif filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
assets/video-understanding/previews/video-understanding-caption-short-01.gif filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
assets/video-understanding/previews/video-understanding-vqa-01.gif filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
assets/video-understanding/previews/video-understanding-vqa-02.gif filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
assets/video-understanding/previews/video-understanding-vqa-03.gif filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
assets/video-understanding/previews/video-understanding-vqa-04.gif filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
assets/video-understanding/videos/video-understanding-caption-long-01.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
assets/video-understanding/videos/video-understanding-caption-short-01.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
assets/video-understanding/videos/video-understanding-vqa-01.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
assets/video-understanding/videos/video-understanding-vqa-02.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
assets/video-understanding/videos/video-understanding-vqa-03.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
assets/video-understanding/videos/video-understanding-vqa-04.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
config/examples/image_edit_examples/index000000_cond1.jpg filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
config/examples/image_edit_examples/index000001_cond1.jpg filter=lfs diff=lfs merge=lfs -text
|
| 93 |
+
config/examples/video_edit_examples/index000000_cond1.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 94 |
+
config/examples/video_edit_examples/index000001_cond1.mp4 filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
*.py[cod]
|
| 3 |
+
*.pyo
|
| 4 |
+
*.pyd
|
| 5 |
+
*.so
|
| 6 |
+
|
| 7 |
+
.Python
|
| 8 |
+
.python-version
|
| 9 |
+
.venv/
|
| 10 |
+
venv/
|
| 11 |
+
env/
|
| 12 |
+
ENV/
|
| 13 |
+
|
| 14 |
+
.pytest_cache/
|
| 15 |
+
.mypy_cache/
|
| 16 |
+
.ruff_cache/
|
| 17 |
+
.coverage
|
| 18 |
+
.coverage.*
|
| 19 |
+
htmlcov/
|
| 20 |
+
|
| 21 |
+
build/
|
| 22 |
+
dist/
|
| 23 |
+
*.egg-info/
|
| 24 |
+
.eggs/
|
| 25 |
+
|
| 26 |
+
.ipynb_checkpoints/
|
| 27 |
+
|
| 28 |
+
.DS_Store
|
| 29 |
+
|
| 30 |
+
# custom ignore
|
| 31 |
+
results/
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
README.md
ADDED
|
@@ -0,0 +1,587 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 align="center"><sup>Lance: Unified Multimodal Modeling by Multi-Task Synergy</sup></h1>
|
| 5 |
+
<p>
|
| 6 |
+
<strong>
|
| 7 |
+
<a href="https://scholar.google.com.hk/citations?user=FXxoQlsAAAAJ&hl=zh-CN&oi=ao" style="text-decoration: none; color: inherit;">Fengyi Fu</a><sup>*</sup>,
|
| 8 |
+
<a href="https://corleone-huang.github.io/" style="text-decoration: none; color: inherit;">Mengqi Huang</a><sup>*,✉</sup>,
|
| 9 |
+
<a href="https://scholar.google.com.hk/citations?user=9ER6nVkAAAAJ&hl=zh-CN&oi=ao" style="text-decoration: none; color: inherit;">Shaojin Wu</a><sup>*</sup>,
|
| 10 |
+
Yunsheng Jiang<sup>*</sup>,
|
| 11 |
+
Yufei Huo,
|
| 12 |
+
<a href="https://guojianzhu.com/" style="text-decoration: none; color: inherit;">Jianzhu Guo</a><sup>✉,§</sup>
|
| 13 |
+
</strong><br>
|
| 14 |
+
Hao Li,
|
| 15 |
+
Yinghang Song,
|
| 16 |
+
Fei Ding,
|
| 17 |
+
Qian He,
|
| 18 |
+
Zheren Fu,
|
| 19 |
+
Zhendong Mao,
|
| 20 |
+
Yongdong Zhang
|
| 21 |
+
<br>
|
| 22 |
+
<em>ByteDance</em>
|
| 23 |
+
<br>
|
| 24 |
+
<sup>*</sup> Equal contribution <sup>✉</sup> Corresponding authors <sup>§</sup> Project lead
|
| 25 |
+
</p>
|
| 26 |
+
<p>
|
| 27 |
+
<a href="https://lance-project.github.io/" style="text-decoration: none; margin: 0 8px;"><img src="https://img.shields.io/badge/Homepage-Lance-blue?style=flat" alt="Homepage"></a>
|
| 28 |
+
<a href="http://arxiv.org/abs/2605.18678" style="text-decoration: none; margin: 0 8px;"><img src="https://img.shields.io/badge/Paper-arXiv-red?style=flat&logo=arxiv" alt="arXiv"></a>
|
| 29 |
+
<a href="https://huggingface.co/bytedance-research/Lance" style="text-decoration: none; margin: 0 8px;"><img src="https://img.shields.io/badge/Model-HuggingFace-yellow?style=flat&logo=huggingface" alt="Model"></a>
|
| 30 |
+
<br>
|
| 31 |
+
English | <a href="./README_zh.md"><ins>简体中文</ins></a>
|
| 32 |
+
</p>
|
| 33 |
+
</div>
|
| 34 |
+
|
| 35 |
+
## 🌟 Highlights
|
| 36 |
+
|
| 37 |
+
**Lance** is a 3B native unified multimodal model that supports **image and video understanding, generation, and editing** within a single framework.
|
| 38 |
+
|
| 39 |
+
- **Efficient at 3B scale.** With only **3B active parameters**, Lance delivers strong performance across image generation, image editing, and video generation benchmarks.
|
| 40 |
+
- **Trained from scratch.** Lance is built with a staged multi-task recipe and trained entirely from scratch within a **128-A100-GPU** budget.
|
| 41 |
+
|
| 42 |
+
<div align="center">
|
| 43 |
+
<img src="assets/benchmarks/benchmark-overview.png" alt="Lance benchmark overview across image generation, image editing, video generation, and video understanding" width="980">
|
| 44 |
+
</div>
|
| 45 |
+
|
| 46 |
+
## 🎨 Demo
|
| 47 |
+
|
| 48 |
+
### Text-to-Video
|
| 49 |
+
|
| 50 |
+
<table align="center">
|
| 51 |
+
<tr>
|
| 52 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-01.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-01.gif" width="100%"></a></td>
|
| 53 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-02.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-02.gif" width="100%"></a></td>
|
| 54 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-03.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-03.gif" width="100%"></a></td>
|
| 55 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-04.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-04.gif" width="100%"></a></td>
|
| 56 |
+
</tr>
|
| 57 |
+
<tr>
|
| 58 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-05.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-05.gif" width="100%"></a></td>
|
| 59 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-06.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-06.gif" width="100%"></a></td>
|
| 60 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-07.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-07.gif" width="100%"></a></td>
|
| 61 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-08.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-08.gif" width="100%"></a></td>
|
| 62 |
+
</tr>
|
| 63 |
+
</table>
|
| 64 |
+
|
| 65 |
+
### Video Editing
|
| 66 |
+
|
| 67 |
+
<table align="center">
|
| 68 |
+
<tr>
|
| 69 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-01.mp4"><img src="assets/video-editing/previews/video-editing-demo-01.gif" width="100%"></a></td>
|
| 70 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-02.mp4"><img src="assets/video-editing/previews/video-editing-demo-02.gif" width="100%"></a></td>
|
| 71 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-03.mp4"><img src="assets/video-editing/previews/video-editing-demo-03.gif" width="100%"></a></td>
|
| 72 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-04.mp4"><img src="assets/video-editing/previews/video-editing-demo-04.gif" width="100%"></a></td>
|
| 73 |
+
</tr>
|
| 74 |
+
<tr>
|
| 75 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-05.mp4"><img src="assets/video-editing/previews/video-editing-demo-05.gif" width="100%"></a></td>
|
| 76 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-06.mp4"><img src="assets/video-editing/previews/video-editing-demo-06.gif" width="100%"></a></td>
|
| 77 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-07.mp4"><img src="assets/video-editing/previews/video-editing-demo-07.gif" width="100%"></a></td>
|
| 78 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-08.mp4"><img src="assets/video-editing/previews/video-editing-demo-08.gif" width="100%"></a></td>
|
| 79 |
+
</tr>
|
| 80 |
+
</table>
|
| 81 |
+
|
| 82 |
+
### Multi-turn Consistency Editing
|
| 83 |
+
|
| 84 |
+
<div align="center">
|
| 85 |
+
<a href="assets/multi-turn-editing/videos/multi-turn-editing-demo-01.mp4">
|
| 86 |
+
<img src="assets/multi-turn-editing/previews/multi-turn-editing-demo-01.gif" width="100%">
|
| 87 |
+
</a>
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
### Intelligent Video Generation
|
| 91 |
+
|
| 92 |
+
<table align="center">
|
| 93 |
+
<tr>
|
| 94 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-01.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-01.gif" width="100%"></a></td>
|
| 95 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-02.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-02.gif" width="100%"></a></td>
|
| 96 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-03.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-03.gif" width="100%"></a></td>
|
| 97 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-04.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-04.gif" width="100%"></a></td>
|
| 98 |
+
</tr>
|
| 99 |
+
</table>
|
| 100 |
+
|
| 101 |
+
### Video Understanding
|
| 102 |
+
|
| 103 |
+
<div align="center">
|
| 104 |
+
<table align="center">
|
| 105 |
+
<tr>
|
| 106 |
+
<td align="left" valign="top" width="33%">
|
| 107 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-01.mp4">
|
| 108 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-01.gif" width="100%">
|
| 109 |
+
</a>
|
| 110 |
+
<p><strong>Question:</strong> How many times did the person launch objects on the table? Options: (A) 3 (B) 2 (C) 4</p>
|
| 111 |
+
<p><strong>Response:</strong> (A) 3</p>
|
| 112 |
+
</td>
|
| 113 |
+
<td align="left" valign="top" width="33%">
|
| 114 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-02.mp4">
|
| 115 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-02.gif" width="100%">
|
| 116 |
+
</a>
|
| 117 |
+
<p><strong>Question:</strong> The person makes sets of repeated actions. How many distinct repeated actions did the person do? Options: (A) 2 (B) 3 (C) 4</p>
|
| 118 |
+
<p><strong>Response:</strong> (A) 2</p>
|
| 119 |
+
</td>
|
| 120 |
+
<td align="left" valign="top" width="33%">
|
| 121 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-03.mp4">
|
| 122 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-03.gif" width="100%">
|
| 123 |
+
</a>
|
| 124 |
+
<p><strong>Question:</strong> In which direction does the purple sphere move in the video? Options: (A) Down and to the right. (B) Up and to the left. (C) Up and to the right. (D) The object is stationary.</p>
|
| 125 |
+
<p><strong>Response:</strong> (A) Down and to the right.</p>
|
| 126 |
+
</td>
|
| 127 |
+
</tr>
|
| 128 |
+
<tr>
|
| 129 |
+
<td align="left" valign="top" width="33%">
|
| 130 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-04.mp4">
|
| 131 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-04.gif" width="100%">
|
| 132 |
+
</a>
|
| 133 |
+
<p><strong>Question:</strong> What is the unrealistic phenomenon displayed in the video? Options: (A) The man can manipulate time via phone. (B) Man grabs an object through a phone screen. (C) Chocolate transforms into different objects. (D) Visible means of propulsion enables flight.</p>
|
| 134 |
+
<p><strong>Response:</strong> (B) Man grabs an object through a phone screen.</p>
|
| 135 |
+
</td>
|
| 136 |
+
<td align="left" valign="top" width="33%">
|
| 137 |
+
<a href="assets/video-understanding/videos/video-understanding-caption-short-01.mp4">
|
| 138 |
+
<img src="assets/video-understanding/previews/video-understanding-caption-short-01.gif" width="100%">
|
| 139 |
+
</a>
|
| 140 |
+
<p><strong>Question:</strong> Offer a succinct account of the culinary process shown in this video.</p>
|
| 141 |
+
<p><strong>Response:</strong> Add tomato puree and mix it well with chicken pieces.</p>
|
| 142 |
+
</td>
|
| 143 |
+
<td align="left" valign="top" width="33%">
|
| 144 |
+
<a href="assets/video-understanding/videos/video-understanding-caption-long-01.mp4">
|
| 145 |
+
<img src="assets/video-understanding/previews/video-understanding-caption-long-01.gif" width="100%">
|
| 146 |
+
</a>
|
| 147 |
+
<p><strong>Question:</strong> Provide a detailed description of the given video, capturing its key moments.</p>
|
| 148 |
+
<p><strong>Response:</strong> In a sunlit meadow, a small tortoiseshell butterfly rests on a purple flower. A bee, with black and yellow stripes, lands on the same flower. The butterfly flaps its wings gently, while the bee busies itself, collecting nectar. The flower sways slightly in the breeze. The butterfly then takes off, and the bee follows, both heading to the next flower. The scene is a vivid display of insect interaction in a natural setting, with the colors of the butterfly and the bee contrasting against the green background of the meadow. The video captures this peaceful moment in a short 6-second duration.</p>
|
| 149 |
+
</td>
|
| 150 |
+
</tr>
|
| 151 |
+
</table>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
### Text-to-Image Generation
|
| 155 |
+
|
| 156 |
+
<div align="center">
|
| 157 |
+
<img src="assets/text-to-image/text-to-image-overview.webp" alt="Lance text-to-image generation examples" width="100%">
|
| 158 |
+
</div>
|
| 159 |
+
|
| 160 |
+
### Image Editing
|
| 161 |
+
|
| 162 |
+
<div align="center">
|
| 163 |
+
<img src="assets/image-editing/image-editing-overview.webp" alt="Lance image editing examples" width="100%">
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
### Image Understanding
|
| 167 |
+
|
| 168 |
+
<div align="center">
|
| 169 |
+
<table align="center">
|
| 170 |
+
<tr>
|
| 171 |
+
<td align="left" valign="top" width="33%">
|
| 172 |
+
<img src="assets/image-understanding/cases/image-understanding-case-01.png" alt="Pie chart reasoning case" width="100%">
|
| 173 |
+
<p><strong>Question:</strong> Is the largest segment greater than sum of all the other segments?</p>
|
| 174 |
+
<p><strong>Response:</strong> Yes, the largest segment in the pie chart is the blue one, which is the most populous segment.</p>
|
| 175 |
+
</td>
|
| 176 |
+
<td align="left" valign="top" width="33%">
|
| 177 |
+
<img src="assets/image-understanding/cases/image-understanding-case-02.png" alt="Survey chart about border security priorities" width="100%">
|
| 178 |
+
<p><strong>Question:</strong> What percentage of respondents want better border security?</p>
|
| 179 |
+
<p><strong>Response:</strong> 29%</p>
|
| 180 |
+
</td>
|
| 181 |
+
<td align="left" valign="top" width="33%">
|
| 182 |
+
<img src="assets/image-understanding/cases/image-understanding-case-03.png" alt="License plate recognition case" width="100%">
|
| 183 |
+
<p><strong>Question:</strong> What is the license plate number of the car?</p>
|
| 184 |
+
<p><strong>Response:</strong> The license plate number of the car is BX62 BFY.</p>
|
| 185 |
+
</td>
|
| 186 |
+
</tr>
|
| 187 |
+
<tr>
|
| 188 |
+
<td align="left" valign="top" width="33%">
|
| 189 |
+
<img src="assets/image-understanding/cases/image-understanding-case-04.png" alt="Market research chart reasoning case" width="100%">
|
| 190 |
+
<p><strong>Question:</strong> According to the data from the proprietary market research, how much amount was spent on the promotional meetings and events during 1998?</p>
|
| 191 |
+
<p><strong>Response:</strong> According to the data from the proprietary market research, the total amount spent on the promotional meetings and events during 1998 was approximately $1.3 billion.</p>
|
| 192 |
+
</td>
|
| 193 |
+
<td align="left" valign="top" width="33%">
|
| 194 |
+
<img src="assets/image-understanding/cases/image-understanding-case-05.png" alt="Colosseum description case" width="100%">
|
| 195 |
+
<p><strong>Question:</strong> What is the appearance of the Colosseum in Rome, Italy?</p>
|
| 196 |
+
<p><strong>Response:</strong> The Colosseum in Rome, Italy is a magnificent ancient amphitheater made of stone and concrete. It is characterized by its large, arched openings and its semi-circular shape. The Colosseum has been partially restored, and its original color has faded, but the architectural details, like the columns and the semi-circular arches, are still visible. The lighting in the image highlights the grandeur and historical significance of the Colosseum, making it stand out against the backdrop of the evening sky.</p>
|
| 197 |
+
</td>
|
| 198 |
+
<td align="left" valign="top" width="33%">
|
| 199 |
+
<img src="assets/image-understanding/cases/image-understanding-case-06.png" alt="Total solar eclipse case" width="100%">
|
| 200 |
+
<p><strong>Question:</strong> How does a total solar eclipse look like from Earth?</p>
|
| 201 |
+
<p><strong>Response:</strong> A total solar eclipse looks like a dark circle with a bright, white outer edge. This is a result of the Earth's rotation and the Earth's shadow, which partially obscures the sun's light. The bright white edge of the eclipse is caused by the sun's high energy and its interaction with the Earth's atmosphere, while the dark part of the eclipse is due to the Earth's shadow and the surrounding air currents. The solar eclipse's shape, with its bright white edge and dark center, is similar to the shape of a full moon or a dark disk. It is a natural phenomenon that occurs in the atmosphere of the Earth and is an important part of the solar system.</p>
|
| 202 |
+
</td>
|
| 203 |
+
</tr>
|
| 204 |
+
</table>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
## 🚀 Installation
|
| 208 |
+
|
| 209 |
+
### Recommended Environment
|
| 210 |
+
|
| 211 |
+
- **Software:** Python 3.10+, CUDA 12.4+ (required)
|
| 212 |
+
- **Hardware:** A GPU with at least 40GB VRAM is required for inference
|
| 213 |
+
|
| 214 |
+
### Installation Steps
|
| 215 |
+
```bash
|
| 216 |
+
bash ./setup_env.sh
|
| 217 |
+
```
|
| 218 |
+
|
| 219 |
+
### Download Model Weights
|
| 220 |
+
|
| 221 |
+
Please download all necessary model checkpoints from [Lance-3B on Hugging Face](https://huggingface.co/bytedance-research/Lance) and place them in the `downloads/` directory.
|
| 222 |
+
|
| 223 |
+
## 📚 Usage
|
| 224 |
+
|
| 225 |
+
### Inference
|
| 226 |
+
|
| 227 |
+
Lance provides a unified command-line interface for all generation / editing / understanding tasks:
|
| 228 |
+
|
| 229 |
+
```bash
|
| 230 |
+
bash inference_lance.sh
|
| 231 |
+
```
|
| 232 |
+
|
| 233 |
+
- Before running, please configure the inference parameters at the top of `inference_lance.sh`.
|
| 234 |
+
- **Supported tasks:** `t2i`, `t2v`, `image_edit`, `video_edit`, `x2t_image`, and `x2t_video`. You can modify `TASK_DEFAULT_CONFIGS` in `inference_lance.py` to customize the default data samples for each task.
|
| 235 |
+
- **Note:** For all tasks, we recommend following the `prompt` format used in the provided examples when writing input prompts, as this typically leads to better generation quality.
|
| 236 |
+
|
| 237 |
+
#### Available Tasks
|
| 238 |
+
|
| 239 |
+
| Task Name | Description | Example JSON |
|
| 240 |
+
|------------------------|--------------------------------------------------|----------------------------------------------|
|
| 241 |
+
| `t2v` | Text-to-Video generation | `config/examples/t2v_example.json` |
|
| 242 |
+
| `t2i` | Text-to-Image generation | `config/examples/t2i_example.json` |
|
| 243 |
+
| `image_edit` | Image editing | `config/examples/image_edit_example.json` |
|
| 244 |
+
| `video_edit` | Video editing | `config/examples/video_edit_example.json` |
|
| 245 |
+
| `x2t_image` | Image understanding | `config/examples/x2t_image_example.json` |
|
| 246 |
+
| `x2t_video` | Video understanding | `config/examples/x2t_video_example.json` |
|
| 247 |
+
|
| 248 |
+
For understanding examples:
|
| 249 |
+
|
| 250 |
+
- `config/examples/x2t_image_example.json`: image understanding examples for visual question answering and image-based reasoning.
|
| 251 |
+
- `config/examples/x2t_video_example.json`: video understanding examples for video question answering and video captioning.
|
| 252 |
+
|
| 253 |
+
#### Parameters
|
| 254 |
+
|
| 255 |
+
You can configure the following hyperparameters at the top of the `inference_lance.sh` script:
|
| 256 |
+
|
| 257 |
+
| Parameter | Default Value | Description |
|
| 258 |
+
| --- | --- | --- |
|
| 259 |
+
| `MODEL_PATH` | `"downloads/Lance_3B"` | Path to the downloaded Lance model weights (`Lance_3B` or `Lance_3B_Video`). |
|
| 260 |
+
| `NUM_GPUS` | `1` | Number of GPUs to use for inference. |
|
| 261 |
+
| `VALIDATION_NUM_TIMESTEPS` | `30` | Number of denoising steps (e.g., 30 or 50). |
|
| 262 |
+
| `VALIDATION_TIMESTEP_SHIFT` | `3.5` | Timestep shift parameter for flow matching scheduling. |
|
| 263 |
+
| `CFG_TEXT_SCALE` | `4.0` | Classifier-Free Guidance (CFG) scale for text conditioning. |
|
| 264 |
+
| `VALIDATION_DATA_SEED` | `42` | Random seed for generation reproducibility. |
|
| 265 |
+
| `NUM_FRAMES` | `50` | Number of frames for video generation (Max: 121). *Unused for image tasks.* |
|
| 266 |
+
| `VIDEO_HEIGHT` / `VIDEO_WIDTH`| `768` | Spatial resolution. *Unused for editing tasks (determined by input image/video).* |
|
| 267 |
+
| `RESOLUTION` | `"video_480p"` | Base resolution preset (`image_768res` or `video_480p`). |
|
| 268 |
+
|
| 269 |
+
### Gradio
|
| 270 |
+
```bash
|
| 271 |
+
python lance_gradio_t2v_v2t.py --gpus 0 --server-port 7860
|
| 272 |
+
```
|
| 273 |
+
|
| 274 |
+
### Benchmarks
|
| 275 |
+
|
| 276 |
+
#### DPG-Bench Evaluation
|
| 277 |
+
|
| 278 |
+
<div align="center">
|
| 279 |
+
<table align="center">
|
| 280 |
+
<thead>
|
| 281 |
+
<tr>
|
| 282 |
+
<th align="left">Models</th>
|
| 283 |
+
<th align="center"># Params.</th>
|
| 284 |
+
<th align="center">Global</th>
|
| 285 |
+
<th align="center">Entity</th>
|
| 286 |
+
<th align="center">Attribute</th>
|
| 287 |
+
<th align="center">Relation</th>
|
| 288 |
+
<th align="center">Other</th>
|
| 289 |
+
<th align="center">Overall</th>
|
| 290 |
+
</tr>
|
| 291 |
+
</thead>
|
| 292 |
+
<tbody>
|
| 293 |
+
<tr>
|
| 294 |
+
<td align="center" colspan="8"><i>Generation-only Models</i></td>
|
| 295 |
+
</tr>
|
| 296 |
+
<tr>
|
| 297 |
+
<td align="left">SDXL</td><td align="center">3.5B</td><td align="center">83.27</td><td align="center">82.43</td><td align="center">80.91</td><td align="center">86.76</td><td align="center">80.41</td><td align="center">74.65</td>
|
| 298 |
+
</tr>
|
| 299 |
+
<tr>
|
| 300 |
+
<td align="left">DALL-E 3</td><td align="center">-</td><td align="center">90.97</td><td align="center">89.61</td><td align="center">88.39</td><td align="center">90.58</td><td align="center">89.83</td><td align="center">83.50</td>
|
| 301 |
+
</tr>
|
| 302 |
+
<tr>
|
| 303 |
+
<td align="left">SD3-Medium</td><td align="center">2B</td><td align="center">87.90</td><td align="center">91.01</td><td align="center">88.83</td><td align="center">80.70</td><td align="center">88.68</td><td align="center">84.08</td>
|
| 304 |
+
</tr>
|
| 305 |
+
<tr>
|
| 306 |
+
<td align="left">FLUX.1-dev</td><td align="center">12B</td><td align="center">74.35</td><td align="center">90.00</td><td align="center">88.96</td><td align="center">90.87</td><td align="center">88.33</td><td align="center">83.84</td>
|
| 307 |
+
</tr>
|
| 308 |
+
<tr>
|
| 309 |
+
<td align="left">Qwen-Image</td><td align="center">20B</td><td align="center">91.32</td><td align="center">91.56</td><td align="center">92.02</td><td align="center">94.31</td><td align="center">92.73</td><td align="center">88.32</td>
|
| 310 |
+
</tr>
|
| 311 |
+
<tr>
|
| 312 |
+
<td align="center" colspan="8"><i>Unified Models</i></td>
|
| 313 |
+
</tr>
|
| 314 |
+
<tr>
|
| 315 |
+
<td align="left">Janus-Pro-7B</td><td align="center">7B</td><td align="center">86.90</td><td align="center">88.90</td><td align="center">89.40</td><td align="center">89.32</td><td align="center">89.48</td><td align="center">84.19</td>
|
| 316 |
+
</tr>
|
| 317 |
+
<tr>
|
| 318 |
+
<td align="left">OmniGen2</td><td align="center">4B</td><td align="center">88.81</td><td align="center">88.83</td><td align="center">90.18</td><td align="center">89.37</td><td align="center">90.27</td><td align="center">83.57</td>
|
| 319 |
+
</tr>
|
| 320 |
+
<tr>
|
| 321 |
+
<td align="left">Show-o2</td><td align="center">7B</td><td align="center">89.00</td><td align="center"><b>91.78</b></td><td align="center">89.96</td><td align="center">91.81</td><td align="center"><b>91.64</b></td><td align="center">86.14</td>
|
| 322 |
+
</tr>
|
| 323 |
+
<tr>
|
| 324 |
+
<td align="left">BAGEL<sup>†</sup></td><td align="center">7B</td><td align="center">88.94</td><td align="center">90.37</td><td align="center"><u>91.29</u></td><td align="center">90.82</td><td align="center">88.67</td><td align="center">85.07</td>
|
| 325 |
+
</tr>
|
| 326 |
+
<tr>
|
| 327 |
+
<td align="left">InternVL-U</td><td align="center">1.7B</td><td align="center"><u>90.39</u></td><td align="center">90.78</td><td align="center">90.68</td><td align="center">90.29</td><td align="center">88.77</td><td align="center">85.18</td>
|
| 328 |
+
</tr>
|
| 329 |
+
<tr>
|
| 330 |
+
<td align="left">TUNA</td><td align="center">7B</td><td align="center"><b>90.42</b></td><td align="center"><u>91.68</u></td><td align="center">90.94</td><td align="center"><u>91.87</u></td><td align="center"><u>90.73</u></td><td align="center"><b>86.76</b></td>
|
| 331 |
+
</tr>
|
| 332 |
+
<tr>
|
| 333 |
+
<td align="left">TUNA-2</td><td align="center">7B</td><td align="center">89.50</td><td align="center">91.40</td><td align="center"><b>92.07</b></td><td align="center">91.91</td><td align="center">88.81</td><td align="center"><u>86.54</u></td>
|
| 334 |
+
</tr>
|
| 335 |
+
<tr>
|
| 336 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>83.89</b></td><td align="center"><b>91.07</b></td><td align="center"><b>89.36</b></td><td align="center"><b>93.38</b></td><td align="center"><b>80.80</b></td><td align="center"><b>84.67</b></td>
|
| 337 |
+
</tr>
|
| 338 |
+
</tbody>
|
| 339 |
+
</table>
|
| 340 |
+
</div>
|
| 341 |
+
|
| 342 |
+
<p align="center"><em><sup>†</sup> indicates methods that use LLM rewriters for prompt rewriting before generation.</em></p>
|
| 343 |
+
|
| 344 |
+
#### GenEval Evaluation
|
| 345 |
+
|
| 346 |
+
<div align="center">
|
| 347 |
+
<table align="center">
|
| 348 |
+
<thead>
|
| 349 |
+
<tr>
|
| 350 |
+
<th align="left">Models</th>
|
| 351 |
+
<th align="center"># Params.</th>
|
| 352 |
+
<th align="center">1-Obj.</th>
|
| 353 |
+
<th align="center">2-Obj.</th>
|
| 354 |
+
<th align="center">Count</th>
|
| 355 |
+
<th align="center">Colors</th>
|
| 356 |
+
<th align="center">Position</th>
|
| 357 |
+
<th align="center">Attr.</th>
|
| 358 |
+
<th align="center">Overall</th>
|
| 359 |
+
</tr>
|
| 360 |
+
</thead>
|
| 361 |
+
<tbody>
|
| 362 |
+
<tr>
|
| 363 |
+
<td align="center" colspan="9"><i>Generation-only Models</i></td>
|
| 364 |
+
</tr>
|
| 365 |
+
<tr>
|
| 366 |
+
<td align="left">SDXL</td><td align="center">3.5B</td><td align="center">0.98</td><td align="center">0.74</td><td align="center">0.39</td><td align="center">0.85</td><td align="center">0.15</td><td align="center">0.23</td><td align="center">0.55</td>
|
| 367 |
+
</tr>
|
| 368 |
+
<tr>
|
| 369 |
+
<td align="left">DALL-E 3</td><td align="center">-</td><td align="center">0.96</td><td align="center">0.87</td><td align="center">0.47</td><td align="center">0.83</td><td align="center">0.43</td><td align="center">0.45</td><td align="center">0.67</td>
|
| 370 |
+
</tr>
|
| 371 |
+
<tr>
|
| 372 |
+
<td align="left">SD3-Medium</td><td align="center">2B</td><td align="center">0.99</td><td align="center">0.94</td><td align="center">0.72</td><td align="center">0.89</td><td align="center">0.33</td><td align="center">0.60</td><td align="center">0.74</td>
|
| 373 |
+
</tr>
|
| 374 |
+
<tr>
|
| 375 |
+
<td align="left">FLUX.1-dev</td><td align="center">12B</td><td align="center">0.98</td><td align="center">0.93</td><td align="center">0.75</td><td align="center">0.93</td><td align="center">0.68</td><td align="center">0.65</td><td align="center">0.82</td>
|
| 376 |
+
</tr>
|
| 377 |
+
<tr>
|
| 378 |
+
<td align="left">Qwen-Image</td><td align="center">20B</td><td align="center">0.99</td><td align="center">0.92</td><td align="center">0.89</td><td align="center">0.88</td><td align="center">0.76</td><td align="center">0.77</td><td align="center">0.87</td>
|
| 379 |
+
</tr>
|
| 380 |
+
<tr>
|
| 381 |
+
<td align="center" colspan="9"><i>Unified Models</i></td>
|
| 382 |
+
</tr>
|
| 383 |
+
<tr>
|
| 384 |
+
<td align="left">Janus-Pro-7B</td><td align="center">7B</td><td align="center"><u>0.99</u></td><td align="center">0.89</td><td align="center">0.59</td><td align="center">0.90</td><td align="center">0.79</td><td align="center">0.66</td><td align="center">0.80</td>
|
| 385 |
+
</tr>
|
| 386 |
+
<tr>
|
| 387 |
+
<td align="left">OmniGen2</td><td align="center">4B</td><td align="center"><b>1.00</b></td><td align="center">0.95</td><td align="center">0.64</td><td align="center">0.88</td><td align="center">0.55</td><td align="center">0.76</td><td align="center">0.80</td>
|
| 388 |
+
</tr>
|
| 389 |
+
<tr>
|
| 390 |
+
<td align="left">Show-o2</td><td align="center">7B</td><td align="center"><b>1.00</b></td><td align="center">0.87</td><td align="center">0.58</td><td align="center">0.92</td><td align="center">0.52</td><td align="center">0.62</td><td align="center">0.76</td>
|
| 391 |
+
</tr>
|
| 392 |
+
<tr>
|
| 393 |
+
<td align="left">BAGEL<sup>†</sup></td><td align="center">7B</td><td align="center">0.98</td><td align="center">0.95</td><td align="center"><b>0.84</b></td><td align="center"><u>0.95</u></td><td align="center">0.78</td><td align="center">0.77</td><td align="center">0.88</td>
|
| 394 |
+
</tr>
|
| 395 |
+
<tr>
|
| 396 |
+
<td align="left">Mogao</td><td align="center">7B</td><td align="center"><b>1.00</b></td><td align="center"><b>0.97</b></td><td align="center"><u>0.83</u></td><td align="center">0.93</td><td align="center">0.84</td><td align="center">0.80</td><td align="center"><u>0.89</u></td>
|
| 397 |
+
</tr>
|
| 398 |
+
<tr>
|
| 399 |
+
<td align="left">InternVL-U</td><td align="center">1.7B</td><td align="center"><u>0.99</u></td><td align="center">0.94</td><td align="center">0.74</td><td align="center">0.91</td><td align="center">0.77</td><td align="center">0.74</td><td align="center">0.85</td>
|
| 400 |
+
</tr>
|
| 401 |
+
<tr>
|
| 402 |
+
<td align="left">TUNA</td><td align="center">7B</td><td align="center"><b>1.00</b></td><td align="center"><b>0.97</b></td><td align="center">0.81</td><td align="center">0.91</td><td align="center"><b>0.88</b></td><td align="center"><b>0.83</b></td><td align="center"><b>0.90</b></td>
|
| 403 |
+
</tr>
|
| 404 |
+
<tr>
|
| 405 |
+
<td align="left">TUNA-2</td><td align="center">7B</td><td align="center"><u>0.99</u></td><td align="center"><u>0.96</u></td><td align="center">0.80</td><td align="center">0.91</td><td align="center">0.84</td><td align="center">0.76</td><td align="center">0.87</td>
|
| 406 |
+
</tr>
|
| 407 |
+
<tr>
|
| 408 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>1.00</b></td><td align="center"><b>0.94</b></td><td align="center"><b>0.84</b></td><td align="center"><b>0.97</b></td><td align="center"><b>0.87</b></td><td align="center"><b>0.81</b></td><td align="center"><b>0.90</b></td>
|
| 409 |
+
</tr>
|
| 410 |
+
</tbody>
|
| 411 |
+
</table>
|
| 412 |
+
</div>
|
| 413 |
+
|
| 414 |
+
<p align="center"><em><sup>†</sup> indicates methods that use LLM rewriters for prompt rewriting before generation.</em></p>
|
| 415 |
+
|
| 416 |
+
#### GEdit-Bench Evaluation
|
| 417 |
+
|
| 418 |
+
<div align="center">
|
| 419 |
+
<table align="center">
|
| 420 |
+
<thead>
|
| 421 |
+
<tr>
|
| 422 |
+
<th align="left">Models</th>
|
| 423 |
+
<th align="center"># Params.</th>
|
| 424 |
+
<th align="center">BC</th>
|
| 425 |
+
<th align="center">CA</th>
|
| 426 |
+
<th align="center">MM</th>
|
| 427 |
+
<th align="center">MC</th>
|
| 428 |
+
<th align="center">PB</th>
|
| 429 |
+
<th align="center">ST</th>
|
| 430 |
+
<th align="center">SA</th>
|
| 431 |
+
<th align="center">SR</th>
|
| 432 |
+
<th align="center">SRp</th>
|
| 433 |
+
<th align="center">TM</th>
|
| 434 |
+
<th align="center">TT</th>
|
| 435 |
+
<th align="center">Avg/G_O</th>
|
| 436 |
+
</tr>
|
| 437 |
+
</thead>
|
| 438 |
+
<tbody>
|
| 439 |
+
<tr>
|
| 440 |
+
<td align="center" colspan="14"><i>Generation-only Models</i></td>
|
| 441 |
+
</tr>
|
| 442 |
+
<tr>
|
| 443 |
+
<td align="left">Gemini 2.0</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">6.32</td>
|
| 444 |
+
</tr>
|
| 445 |
+
<tr>
|
| 446 |
+
<td align="left">GPT Image 1</td><td align="center">-</td><td align="center">6.96</td><td align="center">6.85</td><td align="center">7.10</td><td align="center">5.41</td><td align="center">6.74</td><td align="center">7.44</td><td align="center">7.51</td><td align="center">8.73</td><td align="center">8.55</td><td align="center">8.45</td><td align="center">8.69</td><td align="center">7.49</td>
|
| 447 |
+
</tr>
|
| 448 |
+
<tr>
|
| 449 |
+
<td align="left">Qwen-Image-Edit</td><td align="center">20B</td><td align="center">8.23</td><td align="center">8.30</td><td align="center">7.33</td><td align="center">8.05</td><td align="center">7.49</td><td align="center">6.74</td><td align="center">8.57</td><td align="center">8.09</td><td align="center">8.29</td><td align="center">8.48</td><td align="center">8.50</td><td align="center">8.01</td>
|
| 450 |
+
</tr>
|
| 451 |
+
<tr>
|
| 452 |
+
<td align="center" colspan="14"><i>Unified Models</i></td>
|
| 453 |
+
</tr>
|
| 454 |
+
<tr>
|
| 455 |
+
<td align="left">Lumina-DiMOO</td><td align="center">8B</td><td align="center">3.43</td><td align="center">4.27</td><td align="center">3.08</td><td align="center">2.77</td><td align="center">4.74</td><td align="center">5.19</td><td align="center">4.44</td><td align="center">3.80</td><td align="center">4.38</td><td align="center">2.68</td><td align="center">4.20</td><td align="center">3.91</td>
|
| 456 |
+
</tr>
|
| 457 |
+
<tr>
|
| 458 |
+
<td align="left">Ovis-U1</td><td align="center">1.2B</td><td align="center"><u>7.49</u></td><td align="center">6.88</td><td align="center">6.21</td><td align="center">4.79</td><td align="center">5.98</td><td align="center"><u>6.46</u></td><td align="center">7.49</td><td align="center"><u>7.25</u></td><td align="center"><u>7.27</u></td><td align="center">4.48</td><td align="center">6.31</td><td align="center">6.42</td>
|
| 459 |
+
</tr>
|
| 460 |
+
<tr>
|
| 461 |
+
<td align="left">BAGEL</td><td align="center">7B</td><td align="center">7.32</td><td align="center">6.91</td><td align="center">6.38</td><td align="center">4.75</td><td align="center">4.57</td><td align="center">6.15</td><td align="center"><b>7.90</b></td><td align="center">7.16</td><td align="center">7.02</td><td align="center"><u>7.32</u></td><td align="center">6.22</td><td align="center">6.52</td>
|
| 462 |
+
</tr>
|
| 463 |
+
<tr>
|
| 464 |
+
<td align="left">InternVL-U</td><td align="center">1.7B</td><td align="center">7.08</td><td align="center">7.05</td><td align="center">6.38</td><td align="center"><u>7.02</u></td><td align="center"><u>6.03</u></td><td align="center">6.27</td><td align="center">7.13</td><td align="center">6.55</td><td align="center">6.33</td><td align="center">6.59</td><td align="center"><u>6.85</u></td><td align="center">6.66</td>
|
| 465 |
+
</tr>
|
| 466 |
+
<tr>
|
| 467 |
+
<td align="left">InternVL-U (w/ CoT)</td><td align="center">1.7B</td><td align="center">7.05</td><td align="center"><b>7.87</b></td><td align="center"><u>6.50</u></td><td align="center">6.99</td><td align="center">5.77</td><td align="center">6.10</td><td align="center">7.33</td><td align="center">7.16</td><td align="center">7.12</td><td align="center"><b>7.36</b></td><td align="center">6.46</td><td align="center"><u>6.88</u></td>
|
| 468 |
+
</tr>
|
| 469 |
+
<tr>
|
| 470 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>7.73</b></td><td align="center"><u>7.74</u></td><td align="center"><b>7.28</b></td><td align="center"><b>7.83</b></td><td align="center"><b>7.50</b></td><td align="center"><b>7.03</b></td><td align="center"><u>7.64</u></td><td align="center"><b>7.85</b></td><td align="center"><b>7.71</b></td><td align="center">4.46</td><td align="center"><b>7.57</b></td><td align="center"><b>7.30</b></td>
|
| 471 |
+
</tr>
|
| 472 |
+
</tbody>
|
| 473 |
+
</table>
|
| 474 |
+
</div>
|
| 475 |
+
|
| 476 |
+
#### VBench Evaluation (Video Generation)
|
| 477 |
+
|
| 478 |
+
<div align="center">
|
| 479 |
+
<table align="center">
|
| 480 |
+
<thead>
|
| 481 |
+
<tr>
|
| 482 |
+
<th align="left">Type</th>
|
| 483 |
+
<th align="left">Model</th>
|
| 484 |
+
<th align="center"># Params.</th>
|
| 485 |
+
<th align="center">Total Score ↑</th>
|
| 486 |
+
</tr>
|
| 487 |
+
</thead>
|
| 488 |
+
<tbody>
|
| 489 |
+
<tr>
|
| 490 |
+
<td align="center" rowspan="12"><i>Gen. Only</i></td>
|
| 491 |
+
<td align="left">ModelScope</td><td align="center">1.7B</td><td align="center">75.75</td>
|
| 492 |
+
</tr>
|
| 493 |
+
<tr>
|
| 494 |
+
<td align="left">LaVie</td><td align="center">3B</td><td align="center">77.08</td>
|
| 495 |
+
</tr>
|
| 496 |
+
<tr>
|
| 497 |
+
<td align="left">Show-1</td><td align="center">6B</td><td align="center">78.93</td>
|
| 498 |
+
</tr>
|
| 499 |
+
<tr>
|
| 500 |
+
<td align="left">AnimateDiff-V2</td><td align="center">-</td><td align="center">80.27</td>
|
| 501 |
+
</tr>
|
| 502 |
+
<tr>
|
| 503 |
+
<td align="left">VideoCrafter-2.0</td><td align="center">-</td><td align="center">80.44</td>
|
| 504 |
+
</tr>
|
| 505 |
+
<tr>
|
| 506 |
+
<td align="left">CogVideoX</td><td align="center">5B</td><td align="center">81.61</td>
|
| 507 |
+
</tr>
|
| 508 |
+
<tr>
|
| 509 |
+
<td align="left">Kling</td><td align="center">-</td><td align="center">81.85</td>
|
| 510 |
+
</tr>
|
| 511 |
+
<tr>
|
| 512 |
+
<td align="left">Open-Sora-2.0</td><td align="center">-</td><td align="center">81.71</td>
|
| 513 |
+
</tr>
|
| 514 |
+
<tr>
|
| 515 |
+
<td align="left">Gen-3</td><td align="center">-</td><td align="center">82.32</td>
|
| 516 |
+
</tr>
|
| 517 |
+
<tr>
|
| 518 |
+
<td align="left">Step-Video-T2V</td><td align="center">30B</td><td align="center">81.83</td>
|
| 519 |
+
</tr>
|
| 520 |
+
<tr>
|
| 521 |
+
<td align="left">Hunyuan Video</td><td align="center">-</td><td align="center">83.43</td>
|
| 522 |
+
</tr>
|
| 523 |
+
<tr>
|
| 524 |
+
<td align="left">Wan2.1-T2V</td><td align="center">14B</td><td align="center">83.69</td>
|
| 525 |
+
</tr>
|
| 526 |
+
<tr>
|
| 527 |
+
<td align="center" rowspan="6"><i>Unified</i></td>
|
| 528 |
+
<td align="left">HaproOmni</td><td align="center">7B</td><td align="center">78.10</td>
|
| 529 |
+
</tr>
|
| 530 |
+
<tr>
|
| 531 |
+
<td align="left">Emu3</td><td align="center">8B</td><td align="center">80.96</td>
|
| 532 |
+
</tr>
|
| 533 |
+
<tr>
|
| 534 |
+
<td align="left">VILA-U</td><td align="center">7B</td><td align="center">74.01</td>
|
| 535 |
+
</tr>
|
| 536 |
+
<tr>
|
| 537 |
+
<td align="left">Show-o2</td><td align="center">2B</td><td align="center">81.34</td>
|
| 538 |
+
</tr>
|
| 539 |
+
<tr>
|
| 540 |
+
<td align="left">TUNA</td><td align="center">1.5B</td><td align="center"><u>84.06</u></td>
|
| 541 |
+
</tr>
|
| 542 |
+
<tr>
|
| 543 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>85.11</b></td>
|
| 544 |
+
</tr>
|
| 545 |
+
</tbody>
|
| 546 |
+
</table>
|
| 547 |
+
</div>
|
| 548 |
+
|
| 549 |
+
#### Running Benchmarks
|
| 550 |
+
|
| 551 |
+
Ready-to-run benchmark scripts are provided under `benchmarks/`:
|
| 552 |
+
|
| 553 |
+
| Benchmark | Modality | Script |
|
| 554 |
+
|------------------------|----------|---------------------------------------------------------------|
|
| 555 |
+
| GenEVAL (image gen) | Image | `benchmarks/image_gen/GenEVAL/sample_GenEVAL.sh` |
|
| 556 |
+
| DPG (image gen) | Image | `benchmarks/image_gen/DPG/sample_DPG.sh` |
|
| 557 |
+
| GEdit (image edit) | Image | `benchmarks/image_gen/GEdit/sample_GEdit.sh` |
|
| 558 |
+
| VBench (video gen) | Video | `benchmarks/video_gen/Vbench/sample_vbench.sh` |
|
| 559 |
+
|
| 560 |
+
|
| 561 |
+
## 📄 License
|
| 562 |
+
|
| 563 |
+
Copyright 2025 Bytedance Ltd. and/or its affiliates.
|
| 564 |
+
|
| 565 |
+
## 🙏 Acknowledgements
|
| 566 |
+
|
| 567 |
+
We would like to thank the contributors of [BAGEL](https://github.com/ByteDance-Seed/bagel), [Qwen2.5-VL-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-3B-Instruct), and [Wan2.2](https://github.com/Wan-Video/Wan2.2) for their open research and contributions.
|
| 568 |
+
|
| 569 |
+
## 💖 Citation
|
| 570 |
+
|
| 571 |
+
If you find **Lance** useful for your project or research, welcome to 🌟 this repo and cite our work using the following BibTeX:
|
| 572 |
+
|
| 573 |
+
```bibtex
|
| 574 |
+
@misc{fu2026lanceunifiedmultimodalmodeling,
|
| 575 |
+
title = {Lance: Unified Multimodal Modeling by Multi-Task Synergy},
|
| 576 |
+
author = {Fengyi Fu and Mengqi Huang and Shaojin Wu and Yunsheng Jiang and Yufei Huo and Hao Li and Yinghang Song and Fei Ding and Jianzhu Guo and Qian He and Zheren Fu and Zhendong Mao and Yongdong Zhang},
|
| 577 |
+
year = {2026},
|
| 578 |
+
eprint = {2605.18678},
|
| 579 |
+
archivePrefix = {arXiv},
|
| 580 |
+
primaryClass = {cs.CV},
|
| 581 |
+
url = {https://arxiv.org/abs/2605.18678},
|
| 582 |
+
}
|
| 583 |
+
```
|
| 584 |
+
|
| 585 |
+
## 📞 Contact
|
| 586 |
+
|
| 587 |
+
For questions, issues, or collaborations, please contact [Mengqi Huang](https://corleone-huang.github.io/) and [Jianzhu Guo](https://guojianzhu.com/).
|
README_zh.md
ADDED
|
@@ -0,0 +1,587 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<div align="center">
|
| 2 |
+
<img src="assets/logo/lance-logo.webp" alt="Lance logo" width="300">
|
| 3 |
+
|
| 4 |
+
<h1 align="center"><sup>Lance: Unified Multimodal Modeling by Multi-Task Synergy</sup></h1>
|
| 5 |
+
<p>
|
| 6 |
+
<strong>
|
| 7 |
+
<a href="https://scholar.google.com.hk/citations?user=FXxoQlsAAAAJ&hl=zh-CN&oi=ao" style="text-decoration: none; color: inherit;">Fengyi Fu</a><sup>*</sup>,
|
| 8 |
+
<a href="https://corleone-huang.github.io/" style="text-decoration: none; color: inherit;">Mengqi Huang</a><sup>*,✉</sup>,
|
| 9 |
+
<a href="https://scholar.google.com.hk/citations?user=9ER6nVkAAAAJ&hl=zh-CN&oi=ao" style="text-decoration: none; color: inherit;">Shaojin Wu</a><sup>*</sup>,
|
| 10 |
+
Yunsheng Jiang<sup>*</sup>,
|
| 11 |
+
Yufei Huo,
|
| 12 |
+
<a href="https://guojianzhu.com/" style="text-decoration: none; color: inherit;">Jianzhu Guo</a><sup>✉,§</sup>
|
| 13 |
+
</strong><br>
|
| 14 |
+
Hao Li,
|
| 15 |
+
Yinghang Song,
|
| 16 |
+
Fei Ding,
|
| 17 |
+
Qian He,
|
| 18 |
+
Zheren Fu,
|
| 19 |
+
Zhendong Mao,
|
| 20 |
+
Yongdong Zhang
|
| 21 |
+
<br>
|
| 22 |
+
<em>ByteDance</em>
|
| 23 |
+
<br>
|
| 24 |
+
<sup>*</sup> 共同一作 <sup>✉</sup> 通讯作者 <sup>§</sup> Project lead
|
| 25 |
+
</p>
|
| 26 |
+
<p>
|
| 27 |
+
<a href="https://lance-project.github.io/" style="text-decoration: none; margin: 0 8px;"><img src="https://img.shields.io/badge/Homepage-Lance-blue?style=flat" alt="Homepage"></a>
|
| 28 |
+
<a href="http://arxiv.org/abs/2605.18678" style="text-decoration: none; margin: 0 8px;"><img src="https://img.shields.io/badge/Paper-arXiv-red?style=flat&logo=arxiv" alt="arXiv"></a>
|
| 29 |
+
<a href="https://huggingface.co/bytedance-research/Lance" style="text-decoration: none; margin: 0 8px;"><img src="https://img.shields.io/badge/Model-HuggingFace-yellow?style=flat&logo=huggingface" alt="Model"></a>
|
| 30 |
+
<br>
|
| 31 |
+
<a href="./README.md"><ins>English</ins></a> | 简体中文
|
| 32 |
+
</p>
|
| 33 |
+
</div>
|
| 34 |
+
|
| 35 |
+
## 🌟 亮点
|
| 36 |
+
|
| 37 |
+
**Lance** 是一个3B参数、原生统一的多模态模型,在单一框架下同时支持 **图像与视频的理解、生成和编辑**。
|
| 38 |
+
|
| 39 |
+
- **3B 规模高效强大。** 仅使用 **3B active parameters**,Lance 即可在图像生成、图像编辑和视频生成等基准上取得强劲表现。
|
| 40 |
+
- **从零训练。** Lance 采用分阶段多任务训练配方,在 **128 张 A100 GPU** 的预算内从零完成训练。
|
| 41 |
+
|
| 42 |
+
<div align="center">
|
| 43 |
+
<img src="assets/benchmarks/benchmark-overview.png" alt="Lance benchmark overview across image generation, image editing, video generation, and video understanding" width="980">
|
| 44 |
+
</div>
|
| 45 |
+
|
| 46 |
+
## 🎨 演示
|
| 47 |
+
|
| 48 |
+
### 文生视频
|
| 49 |
+
|
| 50 |
+
<table align="center">
|
| 51 |
+
<tr>
|
| 52 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-01.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-01.gif" width="100%"></a></td>
|
| 53 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-02.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-02.gif" width="100%"></a></td>
|
| 54 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-03.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-03.gif" width="100%"></a></td>
|
| 55 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-04.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-04.gif" width="100%"></a></td>
|
| 56 |
+
</tr>
|
| 57 |
+
<tr>
|
| 58 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-05.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-05.gif" width="100%"></a></td>
|
| 59 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-06.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-06.gif" width="100%"></a></td>
|
| 60 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-07.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-07.gif" width="100%"></a></td>
|
| 61 |
+
<td><a href="assets/text-to-video/videos/text-to-video-demo-08.mp4"><img src="assets/text-to-video/previews/text-to-video-demo-08.gif" width="100%"></a></td>
|
| 62 |
+
</tr>
|
| 63 |
+
</table>
|
| 64 |
+
|
| 65 |
+
### 视频编辑
|
| 66 |
+
|
| 67 |
+
<table align="center">
|
| 68 |
+
<tr>
|
| 69 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-01.mp4"><img src="assets/video-editing/previews/video-editing-demo-01.gif" width="100%"></a></td>
|
| 70 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-02.mp4"><img src="assets/video-editing/previews/video-editing-demo-02.gif" width="100%"></a></td>
|
| 71 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-03.mp4"><img src="assets/video-editing/previews/video-editing-demo-03.gif" width="100%"></a></td>
|
| 72 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-04.mp4"><img src="assets/video-editing/previews/video-editing-demo-04.gif" width="100%"></a></td>
|
| 73 |
+
</tr>
|
| 74 |
+
<tr>
|
| 75 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-05.mp4"><img src="assets/video-editing/previews/video-editing-demo-05.gif" width="100%"></a></td>
|
| 76 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-06.mp4"><img src="assets/video-editing/previews/video-editing-demo-06.gif" width="100%"></a></td>
|
| 77 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-07.mp4"><img src="assets/video-editing/previews/video-editing-demo-07.gif" width="100%"></a></td>
|
| 78 |
+
<td><a href="assets/video-editing/videos/video-editing-demo-08.mp4"><img src="assets/video-editing/previews/video-editing-demo-08.gif" width="100%"></a></td>
|
| 79 |
+
</tr>
|
| 80 |
+
</table>
|
| 81 |
+
|
| 82 |
+
### 多轮一致性编辑
|
| 83 |
+
|
| 84 |
+
<div align="center">
|
| 85 |
+
<a href="assets/multi-turn-editing/videos/multi-turn-editing-demo-01.mp4">
|
| 86 |
+
<img src="assets/multi-turn-editing/previews/multi-turn-editing-demo-01.gif" width="100%">
|
| 87 |
+
</a>
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
### 智能视频生成
|
| 91 |
+
|
| 92 |
+
<table align="center">
|
| 93 |
+
<tr>
|
| 94 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-01.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-01.gif" width="100%"></a></td>
|
| 95 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-02.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-02.gif" width="100%"></a></td>
|
| 96 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-03.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-03.gif" width="100%"></a></td>
|
| 97 |
+
<td><a href="assets/intelligent-video/videos/intelligent-video-demo-04.mp4"><img src="assets/intelligent-video/previews/intelligent-video-demo-04.gif" width="100%"></a></td>
|
| 98 |
+
</tr>
|
| 99 |
+
</table>
|
| 100 |
+
|
| 101 |
+
### 视频理解
|
| 102 |
+
|
| 103 |
+
<div align="center">
|
| 104 |
+
<table align="center">
|
| 105 |
+
<tr>
|
| 106 |
+
<td align="left" valign="top" width="33%">
|
| 107 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-01.mp4">
|
| 108 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-01.gif" width="100%">
|
| 109 |
+
</a>
|
| 110 |
+
<p><strong>问题:</strong> How many times did the person launch objects on the table? Options: (A) 3 (B) 2 (C) 4</p>
|
| 111 |
+
<p><strong>Response:</strong> (A) 3</p>
|
| 112 |
+
</td>
|
| 113 |
+
<td align="left" valign="top" width="33%">
|
| 114 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-02.mp4">
|
| 115 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-02.gif" width="100%">
|
| 116 |
+
</a>
|
| 117 |
+
<p><strong>问题:</strong> The person makes sets of repeated actions. How many distinct repeated actions did the person do? Options: (A) 2 (B) 3 (C) 4</p>
|
| 118 |
+
<p><strong>Response:</strong> (A) 2</p>
|
| 119 |
+
</td>
|
| 120 |
+
<td align="left" valign="top" width="33%">
|
| 121 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-03.mp4">
|
| 122 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-03.gif" width="100%">
|
| 123 |
+
</a>
|
| 124 |
+
<p><strong>问题:</strong> In which direction does the purple sphere move in the video? Options: (A) Down and to the right. (B) Up and to the left. (C) Up and to the right. (D) The object is stationary.</p>
|
| 125 |
+
<p><strong>Response:</strong> (A) Down and to the right.</p>
|
| 126 |
+
</td>
|
| 127 |
+
</tr>
|
| 128 |
+
<tr>
|
| 129 |
+
<td align="left" valign="top" width="33%">
|
| 130 |
+
<a href="assets/video-understanding/videos/video-understanding-vqa-04.mp4">
|
| 131 |
+
<img src="assets/video-understanding/previews/video-understanding-vqa-04.gif" width="100%">
|
| 132 |
+
</a>
|
| 133 |
+
<p><strong>问题:</strong> What is the unrealistic phenomenon displayed in the video? Options: (A) The man can manipulate time via phone. (B) Man grabs an object through a phone screen. (C) Chocolate transforms into different objects. (D) Visible means of propulsion enables flight.</p>
|
| 134 |
+
<p><strong>Response:</strong> (B) Man grabs an object through a phone screen.</p>
|
| 135 |
+
</td>
|
| 136 |
+
<td align="left" valign="top" width="33%">
|
| 137 |
+
<a href="assets/video-understanding/videos/video-understanding-caption-short-01.mp4">
|
| 138 |
+
<img src="assets/video-understanding/previews/video-understanding-caption-short-01.gif" width="100%">
|
| 139 |
+
</a>
|
| 140 |
+
<p><strong>问题:</strong> Offer a succinct account of the culinary process shown in this video.</p>
|
| 141 |
+
<p><strong>Response:</strong> Add tomato puree and mix it well with chicken pieces.</p>
|
| 142 |
+
</td>
|
| 143 |
+
<td align="left" valign="top" width="33%">
|
| 144 |
+
<a href="assets/video-understanding/videos/video-understanding-caption-long-01.mp4">
|
| 145 |
+
<img src="assets/video-understanding/previews/video-understanding-caption-long-01.gif" width="100%">
|
| 146 |
+
</a>
|
| 147 |
+
<p><strong>问题:</strong> Provide a detailed description of the given video, capturing its key moments.</p>
|
| 148 |
+
<p><strong>Response:</strong> In a sunlit meadow, a small tortoiseshell butterfly rests on a purple flower. A bee, with black and yellow stripes, lands on the same flower. The butterfly flaps its wings gently, while the bee busies itself, collecting nectar. The flower sways slightly in the breeze. The butterfly then takes off, and the bee follows, both heading to the next flower. The scene is a vivid display of insect interaction in a natural setting, with the colors of the butterfly and the bee contrasting against the green background of the meadow. The video captures this peaceful moment in a short 6-second duration.</p>
|
| 149 |
+
</td>
|
| 150 |
+
</tr>
|
| 151 |
+
</table>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
### 文生图
|
| 155 |
+
|
| 156 |
+
<div align="center">
|
| 157 |
+
<img src="assets/text-to-image/text-to-image-overview.webp" alt="Lance text-to-image generation examples" width="100%">
|
| 158 |
+
</div>
|
| 159 |
+
|
| 160 |
+
### 图像编辑
|
| 161 |
+
|
| 162 |
+
<div align="center">
|
| 163 |
+
<img src="assets/image-editing/image-editing-overview.webp" alt="Lance image editing examples" width="100%">
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
### 图像理解
|
| 167 |
+
|
| 168 |
+
<div align="center">
|
| 169 |
+
<table align="center">
|
| 170 |
+
<tr>
|
| 171 |
+
<td align="left" valign="top" width="33%">
|
| 172 |
+
<img src="assets/image-understanding/cases/image-understanding-case-01.png" alt="Pie chart reasoning case" width="100%">
|
| 173 |
+
<p><strong>问题:</strong> Is the largest segment greater than sum of all the other segments?</p>
|
| 174 |
+
<p><strong>Response:</strong> Yes, the largest segment in the pie chart is the blue one, which is the most populous segment.</p>
|
| 175 |
+
</td>
|
| 176 |
+
<td align="left" valign="top" width="33%">
|
| 177 |
+
<img src="assets/image-understanding/cases/image-understanding-case-02.png" alt="Survey chart about border security priorities" width="100%">
|
| 178 |
+
<p><strong>问题:</strong> What percentage of respondents want better border security?</p>
|
| 179 |
+
<p><strong>Response:</strong> 29%</p>
|
| 180 |
+
</td>
|
| 181 |
+
<td align="left" valign="top" width="33%">
|
| 182 |
+
<img src="assets/image-understanding/cases/image-understanding-case-03.png" alt="License plate recognition case" width="100%">
|
| 183 |
+
<p><strong>问题:</strong> What is the license plate number of the car?</p>
|
| 184 |
+
<p><strong>Response:</strong> The license plate number of the car is BX62 BFY.</p>
|
| 185 |
+
</td>
|
| 186 |
+
</tr>
|
| 187 |
+
<tr>
|
| 188 |
+
<td align="left" valign="top" width="33%">
|
| 189 |
+
<img src="assets/image-understanding/cases/image-understanding-case-04.png" alt="Market research chart reasoning case" width="100%">
|
| 190 |
+
<p><strong>问题:</strong> According to the data from the proprietary market research, how much amount was spent on the promotional meetings and events during 1998?</p>
|
| 191 |
+
<p><strong>Response:</strong> According to the data from the proprietary market research, the total amount spent on the promotional meetings and events during 1998 was approximately $1.3 billion.</p>
|
| 192 |
+
</td>
|
| 193 |
+
<td align="left" valign="top" width="33%">
|
| 194 |
+
<img src="assets/image-understanding/cases/image-understanding-case-05.png" alt="Colosseum description case" width="100%">
|
| 195 |
+
<p><strong>问题:</strong> What is the appearance of the Colosseum in Rome, Italy?</p>
|
| 196 |
+
<p><strong>Response:</strong> The Colosseum in Rome, Italy is a magnificent ancient amphitheater made of stone and concrete. It is characterized by its large, arched openings and its semi-circular shape. The Colosseum has been partially restored, and its original color has faded, but the architectural details, like the columns and the semi-circular arches, are still visible. The lighting in the image highlights the grandeur and historical significance of the Colosseum, making it stand out against the backdrop of the evening sky.</p>
|
| 197 |
+
</td>
|
| 198 |
+
<td align="left" valign="top" width="33%">
|
| 199 |
+
<img src="assets/image-understanding/cases/image-understanding-case-06.png" alt="Total solar eclipse case" width="100%">
|
| 200 |
+
<p><strong>问题:</strong> How does a total solar eclipse look like from Earth?</p>
|
| 201 |
+
<p><strong>Response:</strong> A total solar eclipse looks like a dark circle with a bright, white outer edge. This is a result of the Earth's rotation and the Earth's shadow, which partially obscures the sun's light. The bright white edge of the eclipse is caused by the sun's high energy and its interaction with the Earth's atmosphere, while the dark part of the eclipse is due to the Earth's shadow and the surrounding air currents. The solar eclipse's shape, with its bright white edge and dark center, is similar to the shape of a full moon or a dark disk. It is a natural phenomenon that occurs in the atmosphere of the Earth and is an important part of the solar system.</p>
|
| 202 |
+
</td>
|
| 203 |
+
</tr>
|
| 204 |
+
</table>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
## 🚀 安装
|
| 208 |
+
|
| 209 |
+
### 推荐环境
|
| 210 |
+
|
| 211 |
+
- **软件环境:** Python 3.10+,CUDA 12.4+(必需)
|
| 212 |
+
- **硬件环境:** 推理至少需要一张显存不低于 40GB 的 GPU
|
| 213 |
+
|
| 214 |
+
### 安装步骤
|
| 215 |
+
```bash
|
| 216 |
+
bash ./setup_env.sh
|
| 217 |
+
```
|
| 218 |
+
|
| 219 |
+
### 下载模型权重
|
| 220 |
+
|
| 221 |
+
请从 [Hugging Face 上的 Lance-3B](https://huggingface.co/bytedance-research/Lance) 下载所需的全部模型权重,并放置到 `downloads/` 目录下。
|
| 222 |
+
|
| 223 |
+
## 📚 使用方法
|
| 224 |
+
|
| 225 |
+
### 推理
|
| 226 |
+
|
| 227 |
+
Lance 为生成、编辑和理解任务提供了统一的命令行入口:
|
| 228 |
+
|
| 229 |
+
```bash
|
| 230 |
+
bash inference_lance.sh
|
| 231 |
+
```
|
| 232 |
+
|
| 233 |
+
- 运行前,请先在 `inference_lance.sh` 顶部配置推理参数。
|
| 234 |
+
- **支持任务:** `t2i`、`t2v`、`image_edit`、`video_edit`、`x2t_image` 和 `x2t_video`。你也可以在 `inference_lance.py` 中修改 `TASK_DEFAULT_CONFIGS`,自定义每个任务默认使用的数据样例。
|
| 235 |
+
- **注意:** 对于所有任务,建议在编写输入 prompt 时参考提供示例中的 `prompt` 格式,这通常有助于获得更好的生成效果。
|
| 236 |
+
|
| 237 |
+
#### 可用任务
|
| 238 |
+
|
| 239 |
+
| 任务名 | 说明 | 示例 JSON |
|
| 240 |
+
|------------------------|--------------------------------------------------|----------------------------------------------|
|
| 241 |
+
| `t2v` | 文生视频 | `config/examples/t2v_example.json` |
|
| 242 |
+
| `t2i` | 文生图 | `config/examples/t2i_example.json` |
|
| 243 |
+
| `image_edit` | 图像编辑 | `config/examples/image_edit_example.json` |
|
| 244 |
+
| `video_edit` | 视频编辑 | `config/examples/video_edit_example.json` |
|
| 245 |
+
| `x2t_image` | 图像理解 | `config/examples/x2t_image_example.json` |
|
| 246 |
+
| `x2t_video` | 视频理解 | `config/examples/x2t_video_example.json` |
|
| 247 |
+
|
| 248 |
+
关于理解任务的示例文件:
|
| 249 |
+
|
| 250 |
+
- `config/examples/x2t_image_example.json`:用于图像理解示例,包括视觉问答和基于图像的推理。
|
| 251 |
+
- `config/examples/x2t_video_example.json`:用于视频理解示例,包括视频问答和视频描述。
|
| 252 |
+
|
| 253 |
+
#### 参数说明
|
| 254 |
+
|
| 255 |
+
你可以在 `inference_lance.sh` 顶部配置以下超参数:
|
| 256 |
+
|
| 257 |
+
| 参数 | 默认值 | 说明 |
|
| 258 |
+
| --- | --- | --- |
|
| 259 |
+
| `MODEL_PATH` | `"downloads/Lance_3B"` | 下载后的 Lance 模型权重路径(如 `Lance_3B` 或 `Lance_3B_Video`)。 |
|
| 260 |
+
| `NUM_GPUS` | `1` | 用于推理的 GPU 数量。 |
|
| 261 |
+
| `VALIDATION_NUM_TIMESTEPS` | `30` | 去噪步数(例如 30 或 50)。 |
|
| 262 |
+
| `VALIDATION_TIMESTEP_SHIFT` | `3.5` | Flow matching 调度中的 timestep shift 参数。 |
|
| 263 |
+
| `CFG_TEXT_SCALE` | `4.0` | 文本条件的 CFG(Classifier-Free Guidance)系数。 |
|
| 264 |
+
| `VALIDATION_DATA_SEED` | `42` | 用于复现实验的随机种子。 |
|
| 265 |
+
| `NUM_FRAMES` | `50` | 视频生成帧数(最大 121)。*图像任务不使用该参数。* |
|
| 266 |
+
| `VIDEO_HEIGHT` / `VIDEO_WIDTH`| `768` | 空间分辨率。*编辑任务不使用该参数(由输入图像/视频决定)。* |
|
| 267 |
+
| `RESOLUTION` | `"video_480p"` | 基础分辨率预设(如 `image_768res` 或 `video_480p`)。 |
|
| 268 |
+
|
| 269 |
+
### Gradio
|
| 270 |
+
```bash
|
| 271 |
+
python lance_gradio_t2v_v2t.py --gpus 0 --server-port 7860
|
| 272 |
+
```
|
| 273 |
+
|
| 274 |
+
### 基准评测
|
| 275 |
+
|
| 276 |
+
#### DPG-Bench 评测
|
| 277 |
+
|
| 278 |
+
<div align="center">
|
| 279 |
+
<table align="center">
|
| 280 |
+
<thead>
|
| 281 |
+
<tr>
|
| 282 |
+
<th align="left">模型</th>
|
| 283 |
+
<th align="center"># Params.</th>
|
| 284 |
+
<th align="center">Global</th>
|
| 285 |
+
<th align="center">Entity</th>
|
| 286 |
+
<th align="center">Attribute</th>
|
| 287 |
+
<th align="center">Relation</th>
|
| 288 |
+
<th align="center">Other</th>
|
| 289 |
+
<th align="center">Overall</th>
|
| 290 |
+
</tr>
|
| 291 |
+
</thead>
|
| 292 |
+
<tbody>
|
| 293 |
+
<tr>
|
| 294 |
+
<td align="center" colspan="8"><i>仅生成模型</i></td>
|
| 295 |
+
</tr>
|
| 296 |
+
<tr>
|
| 297 |
+
<td align="left">SDXL</td><td align="center">3.5B</td><td align="center">83.27</td><td align="center">82.43</td><td align="center">80.91</td><td align="center">86.76</td><td align="center">80.41</td><td align="center">74.65</td>
|
| 298 |
+
</tr>
|
| 299 |
+
<tr>
|
| 300 |
+
<td align="left">DALL-E 3</td><td align="center">-</td><td align="center">90.97</td><td align="center">89.61</td><td align="center">88.39</td><td align="center">90.58</td><td align="center">89.83</td><td align="center">83.50</td>
|
| 301 |
+
</tr>
|
| 302 |
+
<tr>
|
| 303 |
+
<td align="left">SD3-Medium</td><td align="center">2B</td><td align="center">87.90</td><td align="center">91.01</td><td align="center">88.83</td><td align="center">80.70</td><td align="center">88.68</td><td align="center">84.08</td>
|
| 304 |
+
</tr>
|
| 305 |
+
<tr>
|
| 306 |
+
<td align="left">FLUX.1-dev</td><td align="center">12B</td><td align="center">74.35</td><td align="center">90.00</td><td align="center">88.96</td><td align="center">90.87</td><td align="center">88.33</td><td align="center">83.84</td>
|
| 307 |
+
</tr>
|
| 308 |
+
<tr>
|
| 309 |
+
<td align="left">Qwen-Image</td><td align="center">20B</td><td align="center">91.32</td><td align="center">91.56</td><td align="center">92.02</td><td align="center">94.31</td><td align="center">92.73</td><td align="center">88.32</td>
|
| 310 |
+
</tr>
|
| 311 |
+
<tr>
|
| 312 |
+
<td align="center" colspan="8"><i>统一模型</i></td>
|
| 313 |
+
</tr>
|
| 314 |
+
<tr>
|
| 315 |
+
<td align="left">Janus-Pro-7B</td><td align="center">7B</td><td align="center">86.90</td><td align="center">88.90</td><td align="center">89.40</td><td align="center">89.32</td><td align="center">89.48</td><td align="center">84.19</td>
|
| 316 |
+
</tr>
|
| 317 |
+
<tr>
|
| 318 |
+
<td align="left">OmniGen2</td><td align="center">4B</td><td align="center">88.81</td><td align="center">88.83</td><td align="center">90.18</td><td align="center">89.37</td><td align="center">90.27</td><td align="center">83.57</td>
|
| 319 |
+
</tr>
|
| 320 |
+
<tr>
|
| 321 |
+
<td align="left">Show-o2</td><td align="center">7B</td><td align="center">89.00</td><td align="center"><b>91.78</b></td><td align="center">89.96</td><td align="center">91.81</td><td align="center"><b>91.64</b></td><td align="center">86.14</td>
|
| 322 |
+
</tr>
|
| 323 |
+
<tr>
|
| 324 |
+
<td align="left">BAGEL<sup>†</sup></td><td align="center">7B</td><td align="center">88.94</td><td align="center">90.37</td><td align="center"><u>91.29</u></td><td align="center">90.82</td><td align="center">88.67</td><td align="center">85.07</td>
|
| 325 |
+
</tr>
|
| 326 |
+
<tr>
|
| 327 |
+
<td align="left">InternVL-U</td><td align="center">1.7B</td><td align="center"><u>90.39</u></td><td align="center">90.78</td><td align="center">90.68</td><td align="center">90.29</td><td align="center">88.77</td><td align="center">85.18</td>
|
| 328 |
+
</tr>
|
| 329 |
+
<tr>
|
| 330 |
+
<td align="left">TUNA</td><td align="center">7B</td><td align="center"><b>90.42</b></td><td align="center"><u>91.68</u></td><td align="center">90.94</td><td align="center"><u>91.87</u></td><td align="center"><u>90.73</u></td><td align="center"><b>86.76</b></td>
|
| 331 |
+
</tr>
|
| 332 |
+
<tr>
|
| 333 |
+
<td align="left">TUNA-2</td><td align="center">7B</td><td align="center">89.50</td><td align="center">91.40</td><td align="center"><b>92.07</b></td><td align="center">91.91</td><td align="center">88.81</td><td align="center"><u>86.54</u></td>
|
| 334 |
+
</tr>
|
| 335 |
+
<tr>
|
| 336 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>83.89</b></td><td align="center"><b>91.07</b></td><td align="center"><b>89.36</b></td><td align="center"><b>93.38</b></td><td align="center"><b>80.80</b></td><td align="center"><b>84.67</b></td>
|
| 337 |
+
</tr>
|
| 338 |
+
</tbody>
|
| 339 |
+
</table>
|
| 340 |
+
</div>
|
| 341 |
+
|
| 342 |
+
<p align="center"><em><sup>†</sup> 表示该方法在生成前使用 LLM rewriter 进行提示词改写。</em></p>
|
| 343 |
+
|
| 344 |
+
#### GenEval 评测
|
| 345 |
+
|
| 346 |
+
<div align="center">
|
| 347 |
+
<table align="center">
|
| 348 |
+
<thead>
|
| 349 |
+
<tr>
|
| 350 |
+
<th align="left">模型</th>
|
| 351 |
+
<th align="center"># Params.</th>
|
| 352 |
+
<th align="center">1-Obj.</th>
|
| 353 |
+
<th align="center">2-Obj.</th>
|
| 354 |
+
<th align="center">Count</th>
|
| 355 |
+
<th align="center">Colors</th>
|
| 356 |
+
<th align="center">Position</th>
|
| 357 |
+
<th align="center">Attr.</th>
|
| 358 |
+
<th align="center">Overall</th>
|
| 359 |
+
</tr>
|
| 360 |
+
</thead>
|
| 361 |
+
<tbody>
|
| 362 |
+
<tr>
|
| 363 |
+
<td align="center" colspan="9"><i>仅生成模型</i></td>
|
| 364 |
+
</tr>
|
| 365 |
+
<tr>
|
| 366 |
+
<td align="left">SDXL</td><td align="center">3.5B</td><td align="center">0.98</td><td align="center">0.74</td><td align="center">0.39</td><td align="center">0.85</td><td align="center">0.15</td><td align="center">0.23</td><td align="center">0.55</td>
|
| 367 |
+
</tr>
|
| 368 |
+
<tr>
|
| 369 |
+
<td align="left">DALL-E 3</td><td align="center">-</td><td align="center">0.96</td><td align="center">0.87</td><td align="center">0.47</td><td align="center">0.83</td><td align="center">0.43</td><td align="center">0.45</td><td align="center">0.67</td>
|
| 370 |
+
</tr>
|
| 371 |
+
<tr>
|
| 372 |
+
<td align="left">SD3-Medium</td><td align="center">2B</td><td align="center">0.99</td><td align="center">0.94</td><td align="center">0.72</td><td align="center">0.89</td><td align="center">0.33</td><td align="center">0.60</td><td align="center">0.74</td>
|
| 373 |
+
</tr>
|
| 374 |
+
<tr>
|
| 375 |
+
<td align="left">FLUX.1-dev</td><td align="center">12B</td><td align="center">0.98</td><td align="center">0.93</td><td align="center">0.75</td><td align="center">0.93</td><td align="center">0.68</td><td align="center">0.65</td><td align="center">0.82</td>
|
| 376 |
+
</tr>
|
| 377 |
+
<tr>
|
| 378 |
+
<td align="left">Qwen-Image</td><td align="center">20B</td><td align="center">0.99</td><td align="center">0.92</td><td align="center">0.89</td><td align="center">0.88</td><td align="center">0.76</td><td align="center">0.77</td><td align="center">0.87</td>
|
| 379 |
+
</tr>
|
| 380 |
+
<tr>
|
| 381 |
+
<td align="center" colspan="9"><i>统一模型</i></td>
|
| 382 |
+
</tr>
|
| 383 |
+
<tr>
|
| 384 |
+
<td align="left">Janus-Pro-7B</td><td align="center">7B</td><td align="center"><u>0.99</u></td><td align="center">0.89</td><td align="center">0.59</td><td align="center">0.90</td><td align="center">0.79</td><td align="center">0.66</td><td align="center">0.80</td>
|
| 385 |
+
</tr>
|
| 386 |
+
<tr>
|
| 387 |
+
<td align="left">OmniGen2</td><td align="center">4B</td><td align="center"><b>1.00</b></td><td align="center">0.95</td><td align="center">0.64</td><td align="center">0.88</td><td align="center">0.55</td><td align="center">0.76</td><td align="center">0.80</td>
|
| 388 |
+
</tr>
|
| 389 |
+
<tr>
|
| 390 |
+
<td align="left">Show-o2</td><td align="center">7B</td><td align="center"><b>1.00</b></td><td align="center">0.87</td><td align="center">0.58</td><td align="center">0.92</td><td align="center">0.52</td><td align="center">0.62</td><td align="center">0.76</td>
|
| 391 |
+
</tr>
|
| 392 |
+
<tr>
|
| 393 |
+
<td align="left">BAGEL<sup>†</sup></td><td align="center">7B</td><td align="center">0.98</td><td align="center">0.95</td><td align="center"><b>0.84</b></td><td align="center"><u>0.95</u></td><td align="center">0.78</td><td align="center">0.77</td><td align="center">0.88</td>
|
| 394 |
+
</tr>
|
| 395 |
+
<tr>
|
| 396 |
+
<td align="left">Mogao</td><td align="center">7B</td><td align="center"><b>1.00</b></td><td align="center"><b>0.97</b></td><td align="center"><u>0.83</u></td><td align="center">0.93</td><td align="center">0.84</td><td align="center">0.80</td><td align="center"><u>0.89</u></td>
|
| 397 |
+
</tr>
|
| 398 |
+
<tr>
|
| 399 |
+
<td align="left">InternVL-U</td><td align="center">1.7B</td><td align="center"><u>0.99</u></td><td align="center">0.94</td><td align="center">0.74</td><td align="center">0.91</td><td align="center">0.77</td><td align="center">0.74</td><td align="center">0.85</td>
|
| 400 |
+
</tr>
|
| 401 |
+
<tr>
|
| 402 |
+
<td align="left">TUNA</td><td align="center">7B</td><td align="center"><b>1.00</b></td><td align="center"><b>0.97</b></td><td align="center">0.81</td><td align="center">0.91</td><td align="center"><b>0.88</b></td><td align="center"><b>0.83</b></td><td align="center"><b>0.90</b></td>
|
| 403 |
+
</tr>
|
| 404 |
+
<tr>
|
| 405 |
+
<td align="left">TUNA-2</td><td align="center">7B</td><td align="center"><u>0.99</u></td><td align="center"><u>0.96</u></td><td align="center">0.80</td><td align="center">0.91</td><td align="center">0.84</td><td align="center">0.76</td><td align="center">0.87</td>
|
| 406 |
+
</tr>
|
| 407 |
+
<tr>
|
| 408 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>1.00</b></td><td align="center"><b>0.94</b></td><td align="center"><b>0.84</b></td><td align="center"><b>0.97</b></td><td align="center"><b>0.87</b></td><td align="center"><b>0.81</b></td><td align="center"><b>0.90</b></td>
|
| 409 |
+
</tr>
|
| 410 |
+
</tbody>
|
| 411 |
+
</table>
|
| 412 |
+
</div>
|
| 413 |
+
|
| 414 |
+
<p align="center"><em><sup>†</sup> 表示该方法在生成前使用 LLM rewriter 进行提示词改写。</em></p>
|
| 415 |
+
|
| 416 |
+
#### GEdit-Bench 评测
|
| 417 |
+
|
| 418 |
+
<div align="center">
|
| 419 |
+
<table align="center">
|
| 420 |
+
<thead>
|
| 421 |
+
<tr>
|
| 422 |
+
<th align="left">模型</th>
|
| 423 |
+
<th align="center"># Params.</th>
|
| 424 |
+
<th align="center">BC</th>
|
| 425 |
+
<th align="center">CA</th>
|
| 426 |
+
<th align="center">MM</th>
|
| 427 |
+
<th align="center">MC</th>
|
| 428 |
+
<th align="center">PB</th>
|
| 429 |
+
<th align="center">ST</th>
|
| 430 |
+
<th align="center">SA</th>
|
| 431 |
+
<th align="center">SR</th>
|
| 432 |
+
<th align="center">SRp</th>
|
| 433 |
+
<th align="center">TM</th>
|
| 434 |
+
<th align="center">TT</th>
|
| 435 |
+
<th align="center">Avg/G_O</th>
|
| 436 |
+
</tr>
|
| 437 |
+
</thead>
|
| 438 |
+
<tbody>
|
| 439 |
+
<tr>
|
| 440 |
+
<td align="center" colspan="14"><i>仅生成模型</i></td>
|
| 441 |
+
</tr>
|
| 442 |
+
<tr>
|
| 443 |
+
<td align="left">Gemini 2.0</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">-</td><td align="center">6.32</td>
|
| 444 |
+
</tr>
|
| 445 |
+
<tr>
|
| 446 |
+
<td align="left">GPT Image 1</td><td align="center">-</td><td align="center">6.96</td><td align="center">6.85</td><td align="center">7.10</td><td align="center">5.41</td><td align="center">6.74</td><td align="center">7.44</td><td align="center">7.51</td><td align="center">8.73</td><td align="center">8.55</td><td align="center">8.45</td><td align="center">8.69</td><td align="center">7.49</td>
|
| 447 |
+
</tr>
|
| 448 |
+
<tr>
|
| 449 |
+
<td align="left">Qwen-Image-Edit</td><td align="center">20B</td><td align="center">8.23</td><td align="center">8.30</td><td align="center">7.33</td><td align="center">8.05</td><td align="center">7.49</td><td align="center">6.74</td><td align="center">8.57</td><td align="center">8.09</td><td align="center">8.29</td><td align="center">8.48</td><td align="center">8.50</td><td align="center">8.01</td>
|
| 450 |
+
</tr>
|
| 451 |
+
<tr>
|
| 452 |
+
<td align="center" colspan="14"><i>统一模型</i></td>
|
| 453 |
+
</tr>
|
| 454 |
+
<tr>
|
| 455 |
+
<td align="left">Lumina-DiMOO</td><td align="center">8B</td><td align="center">3.43</td><td align="center">4.27</td><td align="center">3.08</td><td align="center">2.77</td><td align="center">4.74</td><td align="center">5.19</td><td align="center">4.44</td><td align="center">3.80</td><td align="center">4.38</td><td align="center">2.68</td><td align="center">4.20</td><td align="center">3.91</td>
|
| 456 |
+
</tr>
|
| 457 |
+
<tr>
|
| 458 |
+
<td align="left">Ovis-U1</td><td align="center">1.2B</td><td align="center"><u>7.49</u></td><td align="center">6.88</td><td align="center">6.21</td><td align="center">4.79</td><td align="center">5.98</td><td align="center"><u>6.46</u></td><td align="center">7.49</td><td align="center"><u>7.25</u></td><td align="center"><u>7.27</u></td><td align="center">4.48</td><td align="center">6.31</td><td align="center">6.42</td>
|
| 459 |
+
</tr>
|
| 460 |
+
<tr>
|
| 461 |
+
<td align="left">BAGEL</td><td align="center">7B</td><td align="center">7.32</td><td align="center">6.91</td><td align="center">6.38</td><td align="center">4.75</td><td align="center">4.57</td><td align="center">6.15</td><td align="center"><b>7.90</b></td><td align="center">7.16</td><td align="center">7.02</td><td align="center"><u>7.32</u></td><td align="center">6.22</td><td align="center">6.52</td>
|
| 462 |
+
</tr>
|
| 463 |
+
<tr>
|
| 464 |
+
<td align="left">InternVL-U</td><td align="center">1.7B</td><td align="center">7.08</td><td align="center">7.05</td><td align="center">6.38</td><td align="center"><u>7.02</u></td><td align="center"><u>6.03</u></td><td align="center">6.27</td><td align="center">7.13</td><td align="center">6.55</td><td align="center">6.33</td><td align="center">6.59</td><td align="center"><u>6.85</u></td><td align="center">6.66</td>
|
| 465 |
+
</tr>
|
| 466 |
+
<tr>
|
| 467 |
+
<td align="left">InternVL-U (w/ CoT)</td><td align="center">1.7B</td><td align="center">7.05</td><td align="center"><b>7.87</b></td><td align="center"><u>6.50</u></td><td align="center">6.99</td><td align="center">5.77</td><td align="center">6.10</td><td align="center">7.33</td><td align="center">7.16</td><td align="center">7.12</td><td align="center"><b>7.36</b></td><td align="center">6.46</td><td align="center"><u>6.88</u></td>
|
| 468 |
+
</tr>
|
| 469 |
+
<tr>
|
| 470 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>7.73</b></td><td align="center"><u>7.74</u></td><td align="center"><b>7.28</b></td><td align="center"><b>7.83</b></td><td align="center"><b>7.50</b></td><td align="center"><b>7.03</b></td><td align="center"><u>7.64</u></td><td align="center"><b>7.85</b></td><td align="center"><b>7.71</b></td><td align="center">4.46</td><td align="center"><b>7.57</b></td><td align="center"><b>7.30</b></td>
|
| 471 |
+
</tr>
|
| 472 |
+
</tbody>
|
| 473 |
+
</table>
|
| 474 |
+
</div>
|
| 475 |
+
|
| 476 |
+
#### VBench 评测(视频生成)
|
| 477 |
+
|
| 478 |
+
<div align="center">
|
| 479 |
+
<table align="center">
|
| 480 |
+
<thead>
|
| 481 |
+
<tr>
|
| 482 |
+
<th align="left">类型</th>
|
| 483 |
+
<th align="left">Model</th>
|
| 484 |
+
<th align="center"># Params.</th>
|
| 485 |
+
<th align="center">Total Score ↑</th>
|
| 486 |
+
</tr>
|
| 487 |
+
</thead>
|
| 488 |
+
<tbody>
|
| 489 |
+
<tr>
|
| 490 |
+
<td align="center" rowspan="12"><i>Gen. Only</i></td>
|
| 491 |
+
<td align="left">ModelScope</td><td align="center">1.7B</td><td align="center">75.75</td>
|
| 492 |
+
</tr>
|
| 493 |
+
<tr>
|
| 494 |
+
<td align="left">LaVie</td><td align="center">3B</td><td align="center">77.08</td>
|
| 495 |
+
</tr>
|
| 496 |
+
<tr>
|
| 497 |
+
<td align="left">Show-1</td><td align="center">6B</td><td align="center">78.93</td>
|
| 498 |
+
</tr>
|
| 499 |
+
<tr>
|
| 500 |
+
<td align="left">AnimateDiff-V2</td><td align="center">-</td><td align="center">80.27</td>
|
| 501 |
+
</tr>
|
| 502 |
+
<tr>
|
| 503 |
+
<td align="left">VideoCrafter-2.0</td><td align="center">-</td><td align="center">80.44</td>
|
| 504 |
+
</tr>
|
| 505 |
+
<tr>
|
| 506 |
+
<td align="left">CogVideoX</td><td align="center">5B</td><td align="center">81.61</td>
|
| 507 |
+
</tr>
|
| 508 |
+
<tr>
|
| 509 |
+
<td align="left">Kling</td><td align="center">-</td><td align="center">81.85</td>
|
| 510 |
+
</tr>
|
| 511 |
+
<tr>
|
| 512 |
+
<td align="left">Open-Sora-2.0</td><td align="center">-</td><td align="center">81.71</td>
|
| 513 |
+
</tr>
|
| 514 |
+
<tr>
|
| 515 |
+
<td align="left">Gen-3</td><td align="center">-</td><td align="center">82.32</td>
|
| 516 |
+
</tr>
|
| 517 |
+
<tr>
|
| 518 |
+
<td align="left">Step-Video-T2V</td><td align="center">30B</td><td align="center">81.83</td>
|
| 519 |
+
</tr>
|
| 520 |
+
<tr>
|
| 521 |
+
<td align="left">Hunyuan Video</td><td align="center">-</td><td align="center">83.43</td>
|
| 522 |
+
</tr>
|
| 523 |
+
<tr>
|
| 524 |
+
<td align="left">Wan2.1-T2V</td><td align="center">14B</td><td align="center">83.69</td>
|
| 525 |
+
</tr>
|
| 526 |
+
<tr>
|
| 527 |
+
<td align="center" rowspan="6"><i>Unified</i></td>
|
| 528 |
+
<td align="left">HaproOmni</td><td align="center">7B</td><td align="center">78.10</td>
|
| 529 |
+
</tr>
|
| 530 |
+
<tr>
|
| 531 |
+
<td align="left">Emu3</td><td align="center">8B</td><td align="center">80.96</td>
|
| 532 |
+
</tr>
|
| 533 |
+
<tr>
|
| 534 |
+
<td align="left">VILA-U</td><td align="center">7B</td><td align="center">74.01</td>
|
| 535 |
+
</tr>
|
| 536 |
+
<tr>
|
| 537 |
+
<td align="left">Show-o2</td><td align="center">2B</td><td align="center">81.34</td>
|
| 538 |
+
</tr>
|
| 539 |
+
<tr>
|
| 540 |
+
<td align="left">TUNA</td><td align="center">1.5B</td><td align="center"><u>84.06</u></td>
|
| 541 |
+
</tr>
|
| 542 |
+
<tr>
|
| 543 |
+
<td align="left">🌟 <b>Lance (Ours)</b></td><td align="center"><b>3B</b></td><td align="center"><b>85.11</b></td>
|
| 544 |
+
</tr>
|
| 545 |
+
</tbody>
|
| 546 |
+
</table>
|
| 547 |
+
</div>
|
| 548 |
+
|
| 549 |
+
#### 运行基准评测
|
| 550 |
+
|
| 551 |
+
`benchmarks/` 目录下提供了可直接运行的基准评测脚本:
|
| 552 |
+
|
| 553 |
+
| 基准 | 模态 | 脚本 |
|
| 554 |
+
|------------------------|----------|---------------------------------------------------------------|
|
| 555 |
+
| GenEVAL(图像生成) | 图像 | `benchmarks/image_gen/GenEVAL/sample_GenEVAL.sh` |
|
| 556 |
+
| DPG(图像生成) | 图像 | `benchmarks/image_gen/DPG/sample_DPG.sh` |
|
| 557 |
+
| GEdit(图像编辑) | 图像 | `benchmarks/image_gen/GEdit/sample_GEdit.sh` |
|
| 558 |
+
| VBench(视频生成) | 视频 | `benchmarks/video_gen/Vbench/sample_vbench.sh` |
|
| 559 |
+
|
| 560 |
+
|
| 561 |
+
## 📄 许可证
|
| 562 |
+
|
| 563 |
+
Copyright 2025 Bytedance Ltd. and/or its affiliates.
|
| 564 |
+
|
| 565 |
+
## 🙏 致谢
|
| 566 |
+
|
| 567 |
+
我们感谢 [BAGEL](https://github.com/ByteDance-Seed/bagel)、[Qwen2.5-VL-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-3B-Instruct) 和 [Wan2.2](https://github.com/Wan-Video/Wan2.2) 的贡献者,感谢他们开放的研究与社区贡献。
|
| 568 |
+
|
| 569 |
+
## 💖 引用
|
| 570 |
+
|
| 571 |
+
如果 **Lance** 对您的项目或研究有帮助,欢迎 🌟 本仓库,并使用以下 BibTeX 引用我们的工作:
|
| 572 |
+
|
| 573 |
+
```bibtex
|
| 574 |
+
@misc{fu2026lanceunifiedmultimodalmodeling,
|
| 575 |
+
title = {Lance: Unified Multimodal Modeling by Multi-Task Synergy},
|
| 576 |
+
author = {Fengyi Fu and Mengqi Huang and Shaojin Wu and Yunsheng Jiang and Yufei Huo and Hao Li and Yinghang Song and Fei Ding and Jianzhu Guo and Qian He and Zheren Fu and Zhendong Mao and Yongdong Zhang},
|
| 577 |
+
year = {2026},
|
| 578 |
+
eprint = {2605.18678},
|
| 579 |
+
archivePrefix = {arXiv},
|
| 580 |
+
primaryClass = {cs.CV},
|
| 581 |
+
url = {https://arxiv.org/abs/2605.18678},
|
| 582 |
+
}
|
| 583 |
+
```
|
| 584 |
+
|
| 585 |
+
## 📞 联系方式
|
| 586 |
+
|
| 587 |
+
如有问题、反馈或合作需求,请联系 [Mengqi Huang](https://corleone-huang.github.io/) 和 [Jianzhu Guo](https://guojianzhu.com/)。
|
SECURITY.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Security and privacy
|
| 2 |
+
If you discover potential security issues in the project, or believe you may have found a security issue, please notify the ByteDance security team through our [security center](https://security.bytedance.com/src) or [vulnerability reporting email](mailto:src@bytedance.com). Please **do not** create public GitHub Issues.
|
| 3 |
+
|
| 4 |
+
We will assess the vulnerability based on the Common Vulnerability Scoring System (CVSS 3.1). The security team will keep you updated on key progress and may request further information or guidance from you. You are welcome to contact us via the email or website mentioned above to ask questions or discuss disclosure matters.
|
| 5 |
+
|
| 6 |
+
To protect the security of our customers, ByteDance requests that you do not publish or share information regarding the vulnerability in any public forum, nor publish or share data involving users, until the vulnerability has been remediated and our users have been notified. Please understand that the time required for remediation depends on the severity of the vulnerability and the scope of the impact.
|
| 7 |
+
|
| 8 |
+
Individuals, companies, and security teams may wish to publish security advisories on their own websites or other forums. Please contact us via the email or website mentioned above prior to publication to discuss the information that can be disclosed and to coordinate the disclosure timeline.
|
| 9 |
+
|
| 10 |
+
# Bug Bounty Reward
|
| 11 |
+
[For the policy of bug bounty reward](https://bytedance.larkoffice.com/docx/ZstQd7bbooDctqxBCAmcFasOngd), if you have any questions about the rules, please contact [https://src.bytedance.com/home](https://src.bytedance.com/home) for consultation.
|
assets/benchmarks/benchmark-overview.png
ADDED
|
Git LFS Details
|
assets/image-editing/image-editing-overview.webp
ADDED
|
Git LFS Details
|
assets/image-understanding/cases/image-understanding-case-01.png
ADDED
|
Git LFS Details
|
assets/image-understanding/cases/image-understanding-case-02.png
ADDED
|
assets/image-understanding/cases/image-understanding-case-03.png
ADDED
|
Git LFS Details
|
assets/image-understanding/cases/image-understanding-case-04.png
ADDED
|
Git LFS Details
|
assets/image-understanding/cases/image-understanding-case-05.png
ADDED
|
Git LFS Details
|
assets/image-understanding/cases/image-understanding-case-06.png
ADDED
|
Git LFS Details
|
assets/intelligent-video/previews/intelligent-video-demo-01.gif
ADDED
|
assets/intelligent-video/previews/intelligent-video-demo-02.gif
ADDED
|
assets/intelligent-video/previews/intelligent-video-demo-03.gif
ADDED
|
assets/intelligent-video/previews/intelligent-video-demo-04.gif
ADDED
|
assets/intelligent-video/videos/intelligent-video-demo-01.mp4
ADDED
|
Binary file (25 kB). View file
|
|
|
assets/intelligent-video/videos/intelligent-video-demo-02.mp4
ADDED
|
Binary file (28 kB). View file
|
|
|
assets/intelligent-video/videos/intelligent-video-demo-03.mp4
ADDED
|
Binary file (30.6 kB). View file
|
|
|
assets/intelligent-video/videos/intelligent-video-demo-04.mp4
ADDED
|
Binary file (27.5 kB). View file
|
|
|
assets/logo/lance-logo.webp
ADDED
|
Git LFS Details
|
assets/multi-turn-editing/previews/multi-turn-editing-demo-01.gif
ADDED
|
Git LFS Details
|
assets/multi-turn-editing/videos/multi-turn-editing-demo-01.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf8a36b7a94b0d4769d6ce4c5ccad25e3cf5bb22a000f57e4e5cbb05b7854fb4
|
| 3 |
+
size 1915287
|
assets/text-to-image/text-to-image-overview.webp
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-01.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-02.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-03.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-04.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-05.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-06.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-07.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/previews/text-to-video-demo-08.gif
ADDED
|
Git LFS Details
|
assets/text-to-video/videos/text-to-video-demo-01.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b76e0bffa453aa61da2be454dab728da967badcd2c80d5bb3b330e1810a65cc
|
| 3 |
+
size 7186230
|
assets/text-to-video/videos/text-to-video-demo-02.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0b04500bd433bc5705e080001a02d7647252dff4e7cdb48e42efba5a8c721a1
|
| 3 |
+
size 2826861
|
assets/text-to-video/videos/text-to-video-demo-03.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6d1254b88c0ee823083a0c256c25adbe2b20ad0eb1f27a31e6dc62e35f4ecb5
|
| 3 |
+
size 2854502
|
assets/text-to-video/videos/text-to-video-demo-04.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05f42163771e05b9104b27e2133793dd94697a1ecba2bd1bf2ce103de8d3ddfb
|
| 3 |
+
size 4744471
|
assets/text-to-video/videos/text-to-video-demo-05.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fc022110d19f12f5f3222990d69812dbbf3bd6ae7beb953d5d1d4a12858674f
|
| 3 |
+
size 2854867
|
assets/text-to-video/videos/text-to-video-demo-06.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02d0fc0fe120589e94b7739caee15ff2ddef0e461a7d124b8eaa4724853d995f
|
| 3 |
+
size 3397515
|
assets/text-to-video/videos/text-to-video-demo-07.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17466d43ce3439a6d58148d0634f2d365ae20debf12bfa87d3d39e29708a91ff
|
| 3 |
+
size 5506590
|
assets/text-to-video/videos/text-to-video-demo-08.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22215f0fdfe4a6ddc21977fecf972c98a3c9be739fb3b96e2523706a5da90362
|
| 3 |
+
size 3313897
|
assets/video-editing/previews/video-editing-demo-01.gif
ADDED
|
Git LFS Details
|
assets/video-editing/previews/video-editing-demo-02.gif
ADDED
|
Git LFS Details
|
assets/video-editing/previews/video-editing-demo-03.gif
ADDED
|
Git LFS Details
|
assets/video-editing/previews/video-editing-demo-04.gif
ADDED
|
Git LFS Details
|
assets/video-editing/previews/video-editing-demo-05.gif
ADDED
|
Git LFS Details
|
assets/video-editing/previews/video-editing-demo-06.gif
ADDED
|
Git LFS Details
|
assets/video-editing/previews/video-editing-demo-07.gif
ADDED
|
Git LFS Details
|
assets/video-editing/previews/video-editing-demo-08.gif
ADDED
|
Git LFS Details
|