smhfacct commited on
Commit
391563a
Β·
verified Β·
1 Parent(s): 847b72f

Upload 3 files

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - video-generation
5
+ - text-to-video
6
+ - image-to-video
7
+ - audio-video-generation
8
+ - diffusion-transformer
9
+ - merge
10
+ - hybrid
11
+ base_model:
12
+ - MiniMax-H3-fl2va
13
+ - MiniMax-H3-ref2va
14
+ pipeline_tag: text-to-video
15
+ ---
16
+
17
+ # MiniMax H3 Hybrid (fl2va base + ref2va reference pathway)
18
+
19
+ This is a **merged variant of MiniMax H3**, a joint audio+video diffusion transformer (DiT). It combines the two officially released MiniMax H3 checkpoints β€” `fl2va` and `ref2va` β€” into a single model that aims to keep the best qualities of each.
20
+
21
+ ## Why this merge exists
22
+
23
+ MiniMax released two H3 checkpoints with identical architecture and weight layout, but different training regimes:
24
+
25
+ - **`fl2va`** β€” trained on first/last-keyframe conditioning only. Produces noticeably higher visual and audio output quality.
26
+ - **`ref2va`** β€” additionally trained on multimodal reference conditioning (image, video, and audio references), enabling reference-driven generation. However, a known training-quality issue makes its raw output β€” even outside of the reference-conditioning use case β€” noticeably worse than `fl2va`.
27
+
28
+ This creates an awkward tradeoff: `ref2va` is the only checkpoint that supports reference conditioning at all, but it does so at a real cost to output quality β€” including on the exact same non-reference generation tasks where `fl2va` excels.
29
+
30
+ A tensor-by-tensor comparison of the two checkpoints shows that the overwhelming majority of weights β€” attention QKV/output projections, MLPs, RMSNorms, patch projections, rotary position embeddings, and the token refiner β€” are bit-identical or extremely close (cosine similarity β‰₯ 0.9997) between the two models. The meaningful differences are concentrated almost entirely in the per-block **`adaln_proj`** weights: the AdaLN (adaptive layer norm) modulation projections that route text, audio, video, and *reference* modality signals into the residual stream at each transformer block. The final AdaLN projection and the video/audio output heads differ to a smaller degree as well.
31
+
32
+ In other words: the part of the network primarily responsible for *processing* reference conditioning signal is fairly localized, while the parts responsible for general visual/audio fidelity are shared almost entirely between the two checkpoints. That made a targeted merge look promising rather than a lossy compromise.
33
+
34
+ ## Available variants
35
+
36
+ Two variants are provided, differing only in *how many* of the later transformer blocks pull their `adaln_proj` weights from `ref2va`. Both use `fl2va` as the base for everything else.
37
+
38
+ | File | Blocks taken from `ref2va` | Tradeoff |
39
+ |---|---|---|
40
+ | `minimax_h3_hybrid_fl2va_ref2va_b30-49.safetensors` | 30–49 (last 20 of 50) | Closer to `fl2va` β€” higher visual/audio quality, slightly reduced reference capability. |
41
+ | `minimax_h3_hybrid_fl2va_ref2va_b20-49.safetensors` | 20–49 (last 30 of 50) | Closer to `ref2va` β€” slightly higher reference capability, slightly lower visual/audio quality. |
42
+
43
+ Both are reasonable defaults depending on what you're optimizing for: pick **b30-49** if output fidelity matters more and reference conditioning just needs to work well; pick **b20-49** if faithfulness to the reference input is the priority and you can tolerate a small step down in raw quality. Neither variant is uniformly better than the other β€” the difference is a fairly narrow, gradual tradeoff rather than a clear win/loss.
44
+
45
+ ## What this model is
46
+
47
+ Both variants use **`fl2va` as the base** β€” providing its higher-quality attention, MLP, normalization, token refiner, and output-head weights throughout the network β€” with the **per-block `adaln_proj` weights for a range of later transformer blocks taken from `ref2va`** instead (see the table above for the exact range per variant). Everything else, including the earlier-network `adaln_proj` weights and the final-layer AdaLN projection, remains on `fl2va` in both variants.
48
+
49
+ The intent is to preserve `ref2va`'s reference-conditioning pathway β€” which is expressed primarily through those later-block AdaLN modulation weights β€” while keeping the rest of the network on the higher-fidelity `fl2va` weights that govern overall visual and audio quality. This configuration was arrived at empirically, by comparing outputs across different block ranges and preset combinations, and represents the best subjective balance found between reference fidelity and output quality.
50
+
51
+ ## Intended use
52
+
53
+ - Text/image/video/audio-to-video generation where you want to condition on a reference image, video, or audio clip (the capability unique to `ref2va`), while retaining output quality closer to `fl2va`.
54
+ - A drop-in replacement for `ref2va` in reference-conditioned workflows, for users who found `ref2va`'s raw output quality lacking.
55
+
56
+ This model is **not** expected to exceed `fl2va`'s quality on non-reference-conditioned generation, since the great majority of its weights are identical to `fl2va` to begin with; the goal is to close the gap on reference-conditioned generation without giving up `fl2va`'s output quality elsewhere in the network.
57
+
58
+ ## How it was made
59
+
60
+ Both source checkpoints are unmodified, officially released MiniMax H3 weights. Each variant was produced by combining them at the tensor level: for each weight in the network, either the `fl2va` or `ref2va` version was selected according to that variant's block-range rule above, and the result was saved as a new, self-contained checkpoint with the same architecture and tensor layout as the source models. No additional training, fine-tuning, or gradient-based optimization was performed β€” this is a weight-selection merge, not a fine-tune.
61
+
62
+ ## Limitations
63
+
64
+ - This is an experimental merge based on empirical, subjective comparison rather than a principled or exhaustively validated method. Results may vary by prompt, reference type, and generation settings.
65
+ - Because the merge boundary was chosen based on the *known* architectural role of `adaln_proj`, there may be additional latent quality/reference tradeoffs not fully captured by this particular block range.
66
+ - Inherits all licensing terms and usage restrictions of the original MiniMax H3 `fl2va` and `ref2va` checkpoints. See MiniMax's original model license for terms; this merge does not grant any rights beyond what the source checkpoints permit.
67
+
68
+ ## Acknowledgements
69
+
70
+ Built entirely from MiniMax's original H3 `fl2va` and `ref2va` checkpoints. All credit for the underlying model architecture and training goes to MiniMax.
minimax_h3_hybrid_fl2va_ref2va_b20-49.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64f57f77ed85df04f7c0989ab84a5c3c110fb43a40dbc9badfe8ab2d5baafbca
3
+ size 20970379632
minimax_h3_hybrid_fl2va_ref2va_b30-49.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64f57f77ed85df04f7c0989ab84a5c3c110fb43a40dbc9badfe8ab2d5baafbca
3
+ size 20970379632