Instructions to use corechan/MiniMax-H3_NF4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use corechan/MiniMax-H3_NF4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("corechan/MiniMax-H3_NF4", dtype=torch.bfloat16, device_map="cuda") prompt = "Hi, what can you help me with?" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: minimax-h3-community-license
|
| 4 |
-
license_link: https://huggingface.co
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: minimax-h3-community-license
|
| 4 |
+
license_link: https://huggingface.co
|
| 5 |
+
tags:
|
| 6 |
+
- text-generation
|
| 7 |
+
- text-to-video
|
| 8 |
+
- video-generation
|
| 9 |
+
- quantized
|
| 10 |
+
- nf4
|
| 11 |
+
- bitsandbytes
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# MiniMax-H3-NF4
|
| 15 |
+
|
| 16 |
+
This repository contains an **NF4 (NormalFloat 4) quantized version** of the **MiniMax-H3** text-to-video model. It was quantized using `bitsandbytes` to reduce memory footprints while preserving model quality as much as possible.
|
| 17 |
+
|
| 18 |
+
## Original Model Details
|
| 19 |
+
* **Developed by:** MiniMax
|
| 20 |
+
* **Original Repository:** [MiniMaxAI/MiniMax-H3](https://huggingface.co)
|
| 21 |
+
|
| 22 |
+
## Quantization Details
|
| 23 |
+
* **Format:** NF4 (NormalFloat 4) via `bitsandbytes`
|
| 24 |
+
* **Target:** Linear layers
|
| 25 |
+
|
| 26 |
+
## License and Terms of Use ⚠️ IMPORTANT
|
| 27 |
+
|
| 28 |
+
This model is a derivative work of MiniMax-H3 and is distributed under the **MiniMax H3 Community License Agreement**. By downloading or using this model, you and your downstream users agree to be bound by all terms, conditions, and the Acceptable Use Policy of the original license.
|
| 29 |
+
|
| 30 |
+
### Key Terms to Remember:
|
| 31 |
+
1. **Commercial Use Threshold:** Free commercial use, modification, and redistribution are permitted **ONLY** for entities with an annual revenue of **less than $20 million USD**. If your annual revenue exceeds this threshold, you must obtain a separate written license from MiniMax.
|
| 32 |
+
2. **Excluded Territories:** This community license **DOES NOT** grant any rights to use, display, or distribute this model or its outputs within the following territories: **The United States, The European Union, The United Kingdom, and South Korea**. Users in these regions must contact MiniMax directly for separate authorization.
|
| 33 |
+
3. **No Cross-Model Improvement:** You may not use this model or its outputs to train, align, or improve any AI models other than MiniMax-H3 or its direct derivatives.
|
| 34 |
+
4. **Attribution:** Any commercial products or interfaces utilizing this model must display appropriate credit to MiniMax.
|
| 35 |
+
|
| 36 |
+
For the full license terms, please read the `LICENSE` file in this repository or refer to the official [MiniMax H3 Community License Agreement](https://huggingface.co).
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## 日本語概要 (Japanese Summary)
|
| 41 |
+
|
| 42 |
+
本リポジトリは **MiniMax-H3** の **NF4 (NormalFloat 4) 量子化版**モデルです。
|
| 43 |
+
|
| 44 |
+
### ライセンスに関する重要な注意点
|
| 45 |
+
本モデルは独自の **MiniMax H3 Community License Agreement** に基づいて配布されています。ダウンロードおよび利用にあたっては、以下の制限が自動的に適用されます。
|
| 46 |
+
|
| 47 |
+
* **商用利用の制限**: 年間売上が **2,000万米ドル(約31億円)未満** の組織・個人に限り、無料での商用利用・改変・再配布が認められています。これを超える場合はMiniMax社との個別契約が必要です。
|
| 48 |
+
* **地域制限(適用外地域)**: **アメリカ、EU、イギリス、韓国** の4地域は本ライセンスの適用外(除外地域)です。これらの地域での利用や、出力結果の表示・頒布には別途許諾が必要です。
|
| 49 |
+
* **禁止事項**: 本モデルの出力成果物を、MiniMax-H3シリーズ以外の別のAIモデルの学習や改善(蒸留など)に利用することは禁止されています。
|
| 50 |
+
* **帰属表示**: 商用プロダクトで利用する際は、MiniMax社のベースモデルである旨のクレジット表記が必要です。
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
### Disclaimer
|
| 54 |
+
The author of this repository is not affiliated with MiniMax. This quantized version is provided "as-is" for the community, and users are solely responsible for ensuring compliance with the original license terms.
|