Text Generation
MLX
Safetensors
English
Chinese
minimax_m2
jang
jangtq
minimax
Mixture of Experts
apple-silicon
2bit
turboquant
conversational
custom_code
Instructions to use OsaurusAI/MiniMax-M2.7-JANGTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OsaurusAI/MiniMax-M2.7-JANGTQ with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("OsaurusAI/MiniMax-M2.7-JANGTQ") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use OsaurusAI/MiniMax-M2.7-JANGTQ with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/MiniMax-M2.7-JANGTQ"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "OsaurusAI/MiniMax-M2.7-JANGTQ" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use OsaurusAI/MiniMax-M2.7-JANGTQ with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "OsaurusAI/MiniMax-M2.7-JANGTQ"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "OsaurusAI/MiniMax-M2.7-JANGTQ" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OsaurusAI/MiniMax-M2.7-JANGTQ", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use OsaurusAI/MiniMax-M2.7-JANGTQ with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/MiniMax-M2.7-JANGTQ"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default OsaurusAI/MiniMax-M2.7-JANGTQ
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OsaurusAI/MiniMax-M2.7-JANGTQ with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/MiniMax-M2.7-JANGTQ"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "OsaurusAI/MiniMax-M2.7-JANGTQ" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Commit History
-
Realign jangtq_runtime.safetensors for zero-copy mmap loading (tensor bytes unchanged)
Verified signaturebb5f577
-
Upload model-00050-of-00051.safetensors with huggingface_hub
Verified signatureabc1f1a -
Upload model-00047-of-00051.safetensors with huggingface_hub
Verified signature675926c -
Upload model-00017-of-00051.safetensors with huggingface_hub
Verified signatureab581ed -
Upload model-00020-of-00051.safetensors with huggingface_hub
Verified signaturee387aa0 -
Upload model-00032-of-00051.safetensors with huggingface_hub
Verified signature2205065 -
Upload model-00041-of-00051.safetensors with huggingface_hub
Verified signaturee667178 -
Upload model-00038-of-00051.safetensors with huggingface_hub
Verified signature2e072df -
Upload model-00044-of-00051.safetensors with huggingface_hub
Verified signature029b4d0 -
Upload model-00023-of-00051.safetensors with huggingface_hub
Verified signatureb1412c4 -
Upload model-00005-of-00051.safetensors with huggingface_hub
Verified signature4bdc4e9 -
Upload model-00029-of-00051.safetensors with huggingface_hub
Verified signaturebd09888 -
Upload model-00026-of-00051.safetensors with huggingface_hub
Verified signaturef24e1b5 -
Upload model-00008-of-00051.safetensors with huggingface_hub
Verified signature95cabfb -
Upload model-00035-of-00051.safetensors with huggingface_hub
Verified signaturee230250 -
Upload model-00014-of-00051.safetensors with huggingface_hub
Verified signaturee3c4902 -
Upload model-00011-of-00051.safetensors with huggingface_hub
Verified signature76c5f21 -
Upload model-00002-of-00051.safetensors with huggingface_hub
Verified signature80a6d5a -
Upload model-00024-of-00051.safetensors with huggingface_hub
Verified signaturebf83cb7 -
Upload model-00021-of-00051.safetensors with huggingface_hub
Verified signature1dee4ff -
Upload model-00013-of-00051.safetensors with huggingface_hub
Verified signature4b1cd91 -
Upload model-00004-of-00051.safetensors with huggingface_hub
Verified signatureab9d1ab -
Upload model-00016-of-00051.safetensors with huggingface_hub
Verified signature123e006 -
Upload model-00040-of-00051.safetensors with huggingface_hub
Verified signaturef5e2947 -
Upload model-00039-of-00051.safetensors with huggingface_hub
Verified signature825d5ca -
Upload model-00033-of-00051.safetensors with huggingface_hub
Verified signatureaacbe1c -
Upload model-00036-of-00051.safetensors with huggingface_hub
Verified signature0081667 -
Upload model-00012-of-00051.safetensors with huggingface_hub
Verified signatured7252d1 -
Upload model-00025-of-00051.safetensors with huggingface_hub
Verified signature64a543c -
Upload model-00006-of-00051.safetensors with huggingface_hub
Verified signature8d4e687 -
Upload model-00037-of-00051.safetensors with huggingface_hub
Verified signature9c48aa4 -
Upload model-00003-of-00051.safetensors with huggingface_hub
Verified signature92f07f0 -
Upload model-00042-of-00051.safetensors with huggingface_hub
Verified signature7422f4a -
Upload model-00009-of-00051.safetensors with huggingface_hub
Verified signature17c74c7 -
Upload model-00034-of-00051.safetensors with huggingface_hub
Verified signatured86bd4f -
Upload model-00031-of-00051.safetensors with huggingface_hub
Verified signatureee58dff -
Upload model-00030-of-00051.safetensors with huggingface_hub
Verified signature3dd7d95 -
Upload model-00007-of-00051.safetensors with huggingface_hub
Verified signature77427b2 -
Upload model-00028-of-00051.safetensors with huggingface_hub
Verified signature2ee7eb1 -
Upload model-00015-of-00051.safetensors with huggingface_hub
Verified signaturee3dbe60 -
Upload model-00022-of-00051.safetensors with huggingface_hub
Verified signature8ab20c5 -
Upload model-00019-of-00051.safetensors with huggingface_hub
Verified signature7214b2f -
Upload model-00045-of-00051.safetensors with huggingface_hub
Verified signature8c20d9b -
Upload model-00018-of-00051.safetensors with huggingface_hub
Verified signaturecc639ba -
Upload model-00001-of-00051.safetensors with huggingface_hub
Verified signature0eb91ac -
Upload model-00046-of-00051.safetensors with huggingface_hub
Verified signatureb28103b -
Upload model-00027-of-00051.safetensors with huggingface_hub
Verified signatureafb3ecf -
Upload model-00043-of-00051.safetensors with huggingface_hub
Verified signature5d60be5 -
Upload model-00010-of-00051.safetensors with huggingface_hub
Verified signaturef61d374 -
Upload model-00048-of-00051.safetensors with huggingface_hub
Verified signature8680059