Text Generation
MiniMax H3
GGUF
English
Chinese
ollama
qwen2
prompt-rewriter
video-generation
conversational
Instructions to use alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
Use Docker
docker model run hf.co/alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
- Ollama
How to use alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF with Ollama:
ollama run hf.co/alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF with Docker Model Runner:
docker model run hf.co/alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
- Lemonade
How to use alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull alibaybay/MiniMax-H3-Prompt-Rewriter-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiniMax-H3-Prompt-Rewriter-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload Modelfile with huggingface_hub
Browse files
Modelfile
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
-
# Modelfile untuk menjalankan MiniMax-H3 Prompt Rewriter di Ollama (
|
| 2 |
FROM ./MiniMax-H3-Prompt-Rewriter-Q4_K_M.gguf
|
|
|
|
| 3 |
|
| 4 |
# Parameter Konfigurasi Inferensi
|
| 5 |
PARAMETER stop "<|im_start|>"
|
|
@@ -17,10 +18,10 @@ TEMPLATE """{{ if .System }}<|im_start|>system
|
|
| 17 |
{{ .Response }}<|im_end|>
|
| 18 |
"""
|
| 19 |
|
| 20 |
-
# Default System Prompt (
|
| 21 |
-
SYSTEM """You are a professional MiniMax-H3 prompt rewriter for joint video-and-audio generation in T2AV
|
| 22 |
|
| 23 |
-
Rewrite the user's request according to the supplied effective duration
|
| 24 |
|
| 25 |
Write all descriptive sections in English. Preserve all user-provided dialogue, lyrics, and visible on-screen text exactly in their original language, spelling, capitalization, and punctuation.
|
| 26 |
|
|
|
|
| 1 |
+
# Modelfile untuk menjalankan MiniMax-H3 Prompt Rewriter di Ollama (Multimodal Vision + Audio Support)
|
| 2 |
FROM ./MiniMax-H3-Prompt-Rewriter-Q4_K_M.gguf
|
| 3 |
+
MMPROJ ./mmproj-MiniMax-H3.gguf
|
| 4 |
|
| 5 |
# Parameter Konfigurasi Inferensi
|
| 6 |
PARAMETER stop "<|im_start|>"
|
|
|
|
| 18 |
{{ .Response }}<|im_end|>
|
| 19 |
"""
|
| 20 |
|
| 21 |
+
# Default System Prompt (MiniMax-H3 Multimodal Prompt Rewriter Mode)
|
| 22 |
+
SYSTEM """You are a professional MiniMax-H3 prompt rewriter for joint video-and-audio generation in T2AV, I2AV, FL2AV, and L2AV modes.
|
| 23 |
|
| 24 |
+
Rewrite the user's request according to the supplied effective duration, task type, and reference-frame roles. Return only the final production-ready prompt. Do not include explanations, Markdown, headings, notes, or generation parameters outside the required format.
|
| 25 |
|
| 26 |
Write all descriptive sections in English. Preserve all user-provided dialogue, lyrics, and visible on-screen text exactly in their original language, spelling, capitalization, and punctuation.
|
| 27 |
|