Instructions to use CycloneDX/cdx1-pro-mlx-MXFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use CycloneDX/cdx1-pro-mlx-MXFP4 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("CycloneDX/cdx1-pro-mlx-MXFP4") 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
- Unsloth Studio
How to use CycloneDX/cdx1-pro-mlx-MXFP4 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CycloneDX/cdx1-pro-mlx-MXFP4 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CycloneDX/cdx1-pro-mlx-MXFP4 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for CycloneDX/cdx1-pro-mlx-MXFP4 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="CycloneDX/cdx1-pro-mlx-MXFP4", max_seq_length=2048, ) - Pi
How to use CycloneDX/cdx1-pro-mlx-MXFP4 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "CycloneDX/cdx1-pro-mlx-MXFP4"
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": "CycloneDX/cdx1-pro-mlx-MXFP4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use CycloneDX/cdx1-pro-mlx-MXFP4 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 "CycloneDX/cdx1-pro-mlx-MXFP4"
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 CycloneDX/cdx1-pro-mlx-MXFP4
Run Hermes
hermes
- OpenClaw new
How to use CycloneDX/cdx1-pro-mlx-MXFP4 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "CycloneDX/cdx1-pro-mlx-MXFP4"
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 "CycloneDX/cdx1-pro-mlx-MXFP4" \ --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"
- MLX LM
How to use CycloneDX/cdx1-pro-mlx-MXFP4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "CycloneDX/cdx1-pro-mlx-MXFP4"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "CycloneDX/cdx1-pro-mlx-MXFP4" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CycloneDX/cdx1-pro-mlx-MXFP4", "messages": [ {"role": "user", "content": "Hello"} ] }'
Upload folder using huggingface_hub
Browse files- README.md +5 -11
- config.json +2 -0
- model-00001-of-00004.safetensors +2 -2
- model-00002-of-00004.safetensors +2 -2
- model-00003-of-00004.safetensors +2 -2
- model-00004-of-00004.safetensors +2 -2
- model.safetensors.index.json +0 -0
README.md
CHANGED
|
@@ -1,16 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: CycloneDX/cdx1-pro-mlx
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
-
library_name: mlx
|
| 6 |
-
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
-
-
|
| 9 |
-
- transformers
|
| 10 |
-
- sbom
|
| 11 |
-
- supply-chain-security
|
| 12 |
- mlx
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
-
datasets:
|
| 15 |
-
- CycloneDX/cdx-docs
|
| 16 |
---
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
+
- unsloth
|
|
|
|
|
|
|
|
|
|
| 4 |
- mlx
|
| 5 |
+
base_model: unsloth/Qwen3-Coder-30B-A3B-Instruct
|
| 6 |
+
library_name: mlx
|
| 7 |
+
license: apache-2.0
|
| 8 |
+
license_link: https://huggingface.co/Qwen/Qwen3-Coder-30B-A3B-Instruct/blob/main/LICENSE
|
| 9 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
| 10 |
---
|
config.json
CHANGED
|
@@ -28,6 +28,7 @@
|
|
| 28 |
"quantization": {
|
| 29 |
"group_size": 32,
|
| 30 |
"bits": 4,
|
|
|
|
| 31 |
"model.layers.0.mlp.gate": {
|
| 32 |
"group_size": 64,
|
| 33 |
"bits": 8
|
|
@@ -224,6 +225,7 @@
|
|
| 224 |
"quantization_config": {
|
| 225 |
"group_size": 32,
|
| 226 |
"bits": 4,
|
|
|
|
| 227 |
"model.layers.0.mlp.gate": {
|
| 228 |
"group_size": 64,
|
| 229 |
"bits": 8
|
|
|
|
| 28 |
"quantization": {
|
| 29 |
"group_size": 32,
|
| 30 |
"bits": 4,
|
| 31 |
+
"mode": "mxfp4",
|
| 32 |
"model.layers.0.mlp.gate": {
|
| 33 |
"group_size": 64,
|
| 34 |
"bits": 8
|
|
|
|
| 225 |
"quantization_config": {
|
| 226 |
"group_size": 32,
|
| 227 |
"bits": 4,
|
| 228 |
+
"mode": "mxfp4",
|
| 229 |
"model.layers.0.mlp.gate": {
|
| 230 |
"group_size": 64,
|
| 231 |
"bits": 8
|
model-00001-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdb24b8ffc4a1b39be0fb77c8c4f8aa0825fa0943ef5e3f8c664db9b88ac3b3d
|
| 3 |
+
size 5357246273
|
model-00002-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:557e74afdce4758a430d0416e34e0406a11281a72c7ef13f4126ca3815383021
|
| 3 |
+
size 5298895040
|
model-00003-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a8f6bf2b1320a10d0aaa8ed323633132b47fe87713b13c0053a20c9ec508736
|
| 3 |
+
size 5298895020
|
model-00004-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17da5c3603cb0c6b904297db6a712c12022a3a6f2a2230d910e4c2c952bfbce2
|
| 3 |
+
size 272265757
|
model.safetensors.index.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|