Text Generation
MLX
Safetensors
minimax_m2
minimax
m2.7
Mixture of Experts
quantized
rotorquant
kv-cache-quantization
conversational
custom_code
3-bit
Instructions to use majentik/MiniMax-M2.7-RotorQuant-MLX-3bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use majentik/MiniMax-M2.7-RotorQuant-MLX-3bit 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("majentik/MiniMax-M2.7-RotorQuant-MLX-3bit") 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
- LM Studio
- Pi new
How to use majentik/MiniMax-M2.7-RotorQuant-MLX-3bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "majentik/MiniMax-M2.7-RotorQuant-MLX-3bit"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "majentik/MiniMax-M2.7-RotorQuant-MLX-3bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use majentik/MiniMax-M2.7-RotorQuant-MLX-3bit 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 "majentik/MiniMax-M2.7-RotorQuant-MLX-3bit"
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 majentik/MiniMax-M2.7-RotorQuant-MLX-3bit
Run Hermes
hermes
- MLX LM
How to use majentik/MiniMax-M2.7-RotorQuant-MLX-3bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "majentik/MiniMax-M2.7-RotorQuant-MLX-3bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "majentik/MiniMax-M2.7-RotorQuant-MLX-3bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "majentik/MiniMax-M2.7-RotorQuant-MLX-3bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
chore(card): enrich YAML frontmatter (pipeline_tag, language, library_name, inference)
Browse files
README.md
CHANGED
|
@@ -6,13 +6,15 @@ license: other
|
|
| 6 |
license_name: minimax-model-license
|
| 7 |
license_link: https://huggingface.co/MiniMaxAI/MiniMax-M2.7/blob/main/LICENSE
|
| 8 |
tags:
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
# MiniMax-M2.7-RotorQuant-MLX-3bit
|
|
|
|
| 6 |
license_name: minimax-model-license
|
| 7 |
license_link: https://huggingface.co/MiniMaxAI/MiniMax-M2.7/blob/main/LICENSE
|
| 8 |
tags:
|
| 9 |
+
- minimax
|
| 10 |
+
- m2.7
|
| 11 |
+
- moe
|
| 12 |
+
- quantized
|
| 13 |
+
- rotorquant
|
| 14 |
+
- kv-cache-quantization
|
| 15 |
+
- mlx
|
| 16 |
+
language:
|
| 17 |
+
- en
|
| 18 |
---
|
| 19 |
|
| 20 |
# MiniMax-M2.7-RotorQuant-MLX-3bit
|