cdx1-pro
Collection
Models from the CycloneDX Generator (cdxgen) team for xBOM analysis, validation, and reasoning. This is the 30B version. • 10 items • Updated • 1
How to use CycloneDX/cdx1-pro-mlx-6bit 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-6bit")
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)How to use CycloneDX/cdx1-pro-mlx-6bit with Unsloth Studio:
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-6bit to start chatting
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-6bit to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for CycloneDX/cdx1-pro-mlx-6bit to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="CycloneDX/cdx1-pro-mlx-6bit",
max_seq_length=2048,
)How to use CycloneDX/cdx1-pro-mlx-6bit with Pi:
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "CycloneDX/cdx1-pro-mlx-6bit"
# 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-6bit"
}
]
}
}
}# Start Pi in your project directory: pi
How to use CycloneDX/cdx1-pro-mlx-6bit with Hermes Agent:
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "CycloneDX/cdx1-pro-mlx-6bit"
# 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-6bit
hermes
How to use CycloneDX/cdx1-pro-mlx-6bit with MLX LM:
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "CycloneDX/cdx1-pro-mlx-6bit"
# Install MLX LM
uv tool install mlx-lm
# Start the server
mlx_lm.server --model "CycloneDX/cdx1-pro-mlx-6bit"
# 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-6bit",
"messages": [
{"role": "user", "content": "Hello"}
]
}'6-bit
Base model
Qwen/Qwen3-Coder-30B-A3B-Instruct
# 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-6bit") 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)