Text Generation
MLX
English
diffusion_gemma
nvfp4
diffusion-gemma
diffusion-lm
structured-output
decision-making
conversational
modelopt
Instructions to use GenbaLabs/super-decider-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use GenbaLabs/super-decider-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("GenbaLabs/super-decider-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 GenbaLabs/super-decider-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 "GenbaLabs/super-decider-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": "GenbaLabs/super-decider-mlx" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use GenbaLabs/super-decider-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 "GenbaLabs/super-decider-mlx"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "GenbaLabs/super-decider-mlx" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GenbaLabs/super-decider-mlx", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use GenbaLabs/super-decider-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 "GenbaLabs/super-decider-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 GenbaLabs/super-decider-mlx
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use GenbaLabs/super-decider-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 "GenbaLabs/super-decider-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 "GenbaLabs/super-decider-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"
weight: config.json
Browse files- config.json +175 -0
config.json
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DiffusionGemmaForBlockDiffusion"
|
| 4 |
+
],
|
| 5 |
+
"boi_token_id": 255999,
|
| 6 |
+
"canvas_length": 256,
|
| 7 |
+
"dtype": "bfloat16",
|
| 8 |
+
"eoi_token_id": 258882,
|
| 9 |
+
"eos_token_id": [
|
| 10 |
+
1,
|
| 11 |
+
106
|
| 12 |
+
],
|
| 13 |
+
"image_token_id": 258880,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"model_type": "diffusion_gemma",
|
| 16 |
+
"text_config": {
|
| 17 |
+
"attention_bias": false,
|
| 18 |
+
"attention_dropout": 0.0,
|
| 19 |
+
"bos_token_id": 2,
|
| 20 |
+
"dtype": "bfloat16",
|
| 21 |
+
"eos_token_id": 1,
|
| 22 |
+
"final_logit_softcapping": 30.0,
|
| 23 |
+
"global_head_dim": 512,
|
| 24 |
+
"head_dim": 256,
|
| 25 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 26 |
+
"hidden_size": 2816,
|
| 27 |
+
"initializer_range": 0.02,
|
| 28 |
+
"intermediate_size": 2112,
|
| 29 |
+
"layer_types": [
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"full_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"sliding_attention",
|
| 59 |
+
"full_attention"
|
| 60 |
+
],
|
| 61 |
+
"max_position_embeddings": 262144,
|
| 62 |
+
"model_type": "diffusion_gemma_text",
|
| 63 |
+
"moe_intermediate_size": 704,
|
| 64 |
+
"num_attention_heads": 16,
|
| 65 |
+
"num_experts": 128,
|
| 66 |
+
"num_global_key_value_heads": 2,
|
| 67 |
+
"num_hidden_layers": 30,
|
| 68 |
+
"num_key_value_heads": 8,
|
| 69 |
+
"pad_token_id": 0,
|
| 70 |
+
"rms_norm_eps": 1e-06,
|
| 71 |
+
"rope_parameters": {
|
| 72 |
+
"full_attention": {
|
| 73 |
+
"partial_rotary_factor": 0.25,
|
| 74 |
+
"rope_theta": 1000000.0,
|
| 75 |
+
"rope_type": "proportional"
|
| 76 |
+
},
|
| 77 |
+
"sliding_attention": {
|
| 78 |
+
"rope_theta": 10000.0,
|
| 79 |
+
"rope_type": "default"
|
| 80 |
+
}
|
| 81 |
+
},
|
| 82 |
+
"sliding_window": 1024,
|
| 83 |
+
"tie_word_embeddings": true,
|
| 84 |
+
"top_k_experts": 8,
|
| 85 |
+
"use_bidirectional_attention": "vision",
|
| 86 |
+
"vocab_size": 262144
|
| 87 |
+
},
|
| 88 |
+
"tie_word_embeddings": true,
|
| 89 |
+
"transformers_version": "5.8.0.dev0",
|
| 90 |
+
"vision_config": {
|
| 91 |
+
"_name_or_path": "",
|
| 92 |
+
"architectures": null,
|
| 93 |
+
"attention_bias": false,
|
| 94 |
+
"attention_dropout": 0.0,
|
| 95 |
+
"chunk_size_feed_forward": 0,
|
| 96 |
+
"default_output_length": 280,
|
| 97 |
+
"dtype": "bfloat16",
|
| 98 |
+
"global_head_dim": 72,
|
| 99 |
+
"head_dim": 72,
|
| 100 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 101 |
+
"hidden_size": 1152,
|
| 102 |
+
"id2label": {
|
| 103 |
+
"0": "LABEL_0",
|
| 104 |
+
"1": "LABEL_1"
|
| 105 |
+
},
|
| 106 |
+
"initializer_range": 0.02,
|
| 107 |
+
"intermediate_size": 4304,
|
| 108 |
+
"is_encoder_decoder": false,
|
| 109 |
+
"label2id": {
|
| 110 |
+
"LABEL_0": 0,
|
| 111 |
+
"LABEL_1": 1
|
| 112 |
+
},
|
| 113 |
+
"max_position_embeddings": 131072,
|
| 114 |
+
"model_type": "gemma4_vision",
|
| 115 |
+
"num_attention_heads": 16,
|
| 116 |
+
"num_hidden_layers": 27,
|
| 117 |
+
"num_key_value_heads": 16,
|
| 118 |
+
"output_attentions": false,
|
| 119 |
+
"output_hidden_states": false,
|
| 120 |
+
"patch_size": 16,
|
| 121 |
+
"pooling_kernel_size": 3,
|
| 122 |
+
"position_embedding_size": 10240,
|
| 123 |
+
"problem_type": null,
|
| 124 |
+
"return_dict": true,
|
| 125 |
+
"rms_norm_eps": 1e-06,
|
| 126 |
+
"rope_parameters": {
|
| 127 |
+
"rope_theta": 100.0,
|
| 128 |
+
"rope_type": "default"
|
| 129 |
+
},
|
| 130 |
+
"standardize": true,
|
| 131 |
+
"use_clipped_linears": false
|
| 132 |
+
},
|
| 133 |
+
"vision_soft_tokens_per_image": 280,
|
| 134 |
+
"quantization_config": {
|
| 135 |
+
"config_groups": {
|
| 136 |
+
"group_0": {
|
| 137 |
+
"input_activations": {
|
| 138 |
+
"dynamic": false,
|
| 139 |
+
"num_bits": 4,
|
| 140 |
+
"type": "float",
|
| 141 |
+
"group_size": 16
|
| 142 |
+
},
|
| 143 |
+
"weights": {
|
| 144 |
+
"dynamic": false,
|
| 145 |
+
"num_bits": 4,
|
| 146 |
+
"type": "float",
|
| 147 |
+
"group_size": 16
|
| 148 |
+
},
|
| 149 |
+
"targets": [
|
| 150 |
+
"Linear"
|
| 151 |
+
]
|
| 152 |
+
}
|
| 153 |
+
},
|
| 154 |
+
"ignore": [
|
| 155 |
+
"lm_head",
|
| 156 |
+
"*embed_vision*",
|
| 157 |
+
"*mlp*",
|
| 158 |
+
"*router*",
|
| 159 |
+
"*self_attn*",
|
| 160 |
+
"*self_conditioning*",
|
| 161 |
+
"*vision_tower*"
|
| 162 |
+
],
|
| 163 |
+
"quant_algo": "NVFP4",
|
| 164 |
+
"kv_cache_scheme": {
|
| 165 |
+
"dynamic": false,
|
| 166 |
+
"num_bits": 8,
|
| 167 |
+
"type": "float"
|
| 168 |
+
},
|
| 169 |
+
"producer": {
|
| 170 |
+
"name": "modelopt",
|
| 171 |
+
"version": "0.45.0.dev127+ga3a02ca5b.d20260608"
|
| 172 |
+
},
|
| 173 |
+
"quant_method": "modelopt"
|
| 174 |
+
}
|
| 175 |
+
}
|