Image-Text-to-Video
MiniMax H3
Diffusers
Safetensors
text-to-video
image-to-video
video-to-video
text-to-audio-video
image-to-audio-video
image-text-to-audio-video
video-to-audio-video
audio-to-audio-video
audio-video-generation
multimodal
synchronized-audio-video
reference-to-audio-video
Instructions to use fkyyy/MiniMax-H3-slim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fkyyy/MiniMax-H3-slim with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fkyyy/MiniMax-H3-slim", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add transformer/config.json
Browse files- transformer/config.json +26 -0
transformer/config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "MiniMaxH3Transformer3DModel",
|
| 3 |
+
"_diffusers_version": "0.36.0.dev0",
|
| 4 |
+
"num_attention_heads": 56,
|
| 5 |
+
"attention_head_dim": 128,
|
| 6 |
+
"hidden_size": 5376,
|
| 7 |
+
"num_layers": 50,
|
| 8 |
+
"num_refiner_layers": 2,
|
| 9 |
+
"ffn_dim": 14336,
|
| 10 |
+
"in_channels": 24,
|
| 11 |
+
"audio_in_channels": 32,
|
| 12 |
+
"patch_size": [
|
| 13 |
+
1,
|
| 14 |
+
2,
|
| 15 |
+
2
|
| 16 |
+
],
|
| 17 |
+
"text_dim": 5120,
|
| 18 |
+
"freq_dim": 256,
|
| 19 |
+
"time_embed_hidden_dim": 5376,
|
| 20 |
+
"time_embed_dim": 2688,
|
| 21 |
+
"rope_freq_dim": 16,
|
| 22 |
+
"rope_theta": 10000.0,
|
| 23 |
+
"norm_eps": 1e-05,
|
| 24 |
+
"qk_norm_eps": 1e-05,
|
| 25 |
+
"final_norm_eps": 1e-05
|
| 26 |
+
}
|