Instructions to use mlx-community/Bernini-R-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/Bernini-R-bf16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Bernini-R-bf16 mlx-community/Bernini-R-bf16
- Wan2.2
How to use mlx-community/Bernini-R-bf16 with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| { | |
| "model_type": "t2v", | |
| "model_version": "2.2", | |
| "patch_size": [ | |
| 1, | |
| 2, | |
| 2 | |
| ], | |
| "text_len": 512, | |
| "in_dim": 16, | |
| "dim": 5120, | |
| "ffn_dim": 13824, | |
| "freq_dim": 256, | |
| "text_dim": 4096, | |
| "out_dim": 16, | |
| "num_heads": 40, | |
| "num_layers": 40, | |
| "window_size": [ | |
| -1, | |
| -1 | |
| ], | |
| "qk_norm": true, | |
| "cross_attn_norm": true, | |
| "eps": 1e-06, | |
| "vae_stride": [ | |
| 4, | |
| 8, | |
| 8 | |
| ], | |
| "vae_z_dim": 16, | |
| "dual_model": true, | |
| "boundary": 0.875, | |
| "sample_shift": 3.0, | |
| "sample_steps": 40, | |
| "sample_guide_scale": [ | |
| 3.0, | |
| 4.0 | |
| ], | |
| "num_train_timesteps": 1000, | |
| "sample_fps": 16, | |
| "frame_num": 81, | |
| "sample_neg_prompt": "\u8272\u8c03\u8273\u4e3d\uff0c\u8fc7\u66dd\uff0c\u9759\u6001\uff0c\u7ec6\u8282\u6a21\u7cca\u4e0d\u6e05\uff0c\u5b57\u5e55\uff0c\u98ce\u683c\uff0c\u4f5c\u54c1\uff0c\u753b\u4f5c\uff0c\u753b\u9762\uff0c\u9759\u6b62\uff0c\u6574\u4f53\u53d1\u7070\uff0c\u6700\u5dee\u8d28\u91cf\uff0c\u4f4e\u8d28\u91cf\uff0cJPEG\u538b\u7f29\u6b8b\u7559\uff0c\u4e11\u964b\u7684\uff0c\u6b8b\u7f3a\u7684\uff0c\u591a\u4f59\u7684\u624b\u6307\uff0c\u753b\u5f97\u4e0d\u597d\u7684\u624b\u90e8\uff0c\u753b\u5f97\u4e0d\u597d\u7684\u8138\u90e8\uff0c\u7578\u5f62\u7684\uff0c\u6bc1\u5bb9\u7684\uff0c\u5f62\u6001\u7578\u5f62\u7684\u80a2\u4f53\uff0c\u624b\u6307\u878d\u5408\uff0c\u9759\u6b62\u4e0d\u52a8\u7684\u753b\u9762\uff0c\u6742\u4e71\u7684\u80cc\u666f\uff0c\u4e09\u6761\u817f\uff0c\u80cc\u666f\u4eba\u5f88\u591a\uff0c\u5012\u7740\u8d70", | |
| "max_area": 0, | |
| "t5_vocab_size": 256384, | |
| "t5_dim": 4096, | |
| "t5_dim_attn": 4096, | |
| "t5_dim_ffn": 10240, | |
| "t5_num_heads": 64, | |
| "t5_num_layers": 24, | |
| "t5_num_buckets": 32 | |
| } |