Instructions to use Indexing/voltron-1.1-mini-4bit-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Indexing/voltron-1.1-mini-4bit-mlx 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("Indexing/voltron-1.1-mini-4bit-mlx") 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 Indexing/voltron-1.1-mini-4bit-mlx with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Indexing/voltron-1.1-mini-4bit-mlx"
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": "Indexing/voltron-1.1-mini-4bit-mlx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Indexing/voltron-1.1-mini-4bit-mlx with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Indexing/voltron-1.1-mini-4bit-mlx"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Indexing/voltron-1.1-mini-4bit-mlx" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Indexing/voltron-1.1-mini-4bit-mlx", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Indexing/voltron-1.1-mini-4bit-mlx 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 "Indexing/voltron-1.1-mini-4bit-mlx"
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 Indexing/voltron-1.1-mini-4bit-mlx
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Indexing/voltron-1.1-mini-4bit-mlx with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Indexing/voltron-1.1-mini-4bit-mlx"
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 "Indexing/voltron-1.1-mini-4bit-mlx" \ --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"
File size: 2,050 Bytes
2694c1b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | {
"audio_out_token": "<|audio_out|>",
"audio_token": "<|audio|>",
"backend": "tokenizers",
"bos_token": "<|startoftext|>",
"eos_token": "<|im_end|>",
"extra_special_tokens": [],
"image_token": "<|image|>",
"is_local": true,
"local_files_only": false,
"max_length": 320,
"model_max_length": 1000000000000000019884624838656,
"model_specific_special_tokens": {
"audio_out_token": "<|audio_out|>",
"audio_token": "<|audio|>",
"image_token": "<|image|>",
"video_token": "<|video|>",
"vision_end_token": "<|vision_end|>",
"vision_start_token": "<|vision_start|>"
},
"pad_to_multiple_of": null,
"pad_token": "<|pad|>",
"pad_token_type_id": 0,
"padding_side": "right",
"response_template": {
"defaults": {
"role": "assistant"
},
"fields": {
"content": {
"close_pattern": "<\\|im_end\\|>\\s*",
"content": "text"
},
"reasoning_content": {
"close_pattern": "</think>\\s*",
"content": "text",
"open_pattern": "<think>\\n?"
},
"tool_calls": {
"close_pattern": "</tool_call>\\s*",
"content": "xml-inline",
"content_args": {
"tag_pattern": "<parameter=(?P<key>[^>\\n]+)>\\n?(?P<value>.*?)\\n?</parameter>(?=\\s*(?:<parameter=|</function>\\s*\\Z|\\Z))",
"value_parser": {
"args": {
"strip": false
},
"name": "text"
}
},
"open_pattern": "<tool_call>\\s*<function=(?P<name>[^\\n>]+)>",
"repeats": true,
"transform": {
"function": {
"arguments": "{content}",
"name": "{name}"
},
"type": "function"
}
}
},
"start_anchor_pattern": "<\\|im_start\\|>assistant\\n"
},
"stride": 0,
"tokenizer_class": "TokenizersBackend",
"truncation_side": "right",
"truncation_strategy": "longest_first",
"video_token": "<|video|>",
"vision_end_token": "<|vision_end|>",
"vision_start_token": "<|vision_start|>"
}
|