Image-Text-to-Text
MLX
English
qwen3_5
native-mlx
apple-silicon
fp32
ct
medical-imaging
nv-reason-ct
3d-vlm
vision-language
radiology
report-generation
conversational
custom_code
Instructions to use josand/MLX-Reason-CT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use josand/MLX-Reason-CT with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("josand/MLX-Reason-CT") config = load_config("josand/MLX-Reason-CT") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use josand/MLX-Reason-CT with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "josand/MLX-Reason-CT"
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": "josand/MLX-Reason-CT" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use josand/MLX-Reason-CT 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 "josand/MLX-Reason-CT"
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 josand/MLX-Reason-CT
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use josand/MLX-Reason-CT with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "josand/MLX-Reason-CT"
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 "josand/MLX-Reason-CT" \ --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"
Simplify model card
Browse files
README.md
CHANGED
|
@@ -15,64 +15,19 @@ tags:
|
|
| 15 |
|
| 16 |
# NV-Reason-CT MLX
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
This is an unofficial port by Alfredo and Joseph Sandoval.
|
| 21 |
|
| 22 |
-
|
| 23 |
-
No retraining, fine-tuning, or additional parameter precision is claimed.
|
| 24 |
-
Inference and cache arithmetic in this release use FP32. This artifact is not
|
| 25 |
-
original BF16 inference and does not contain a separately trained FP32 checkpoint.
|
| 26 |
|
| 27 |
-
|
| 28 |
-
Revision: `386b93e034983f6c1fc841a43833a1b6a0cd9c13`.
|
| 29 |
-
Original checkpoint SHA256:
|
| 30 |
-
`655c15e59dfa1957f7d5f475b1702d689fb7107160f21256028391bb5f6e6ba5`.
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
and duplicated tied LM head are excluded; exclusions are listed in `mlx/manifest.json`.
|
| 36 |
|
| 37 |
-
|
|
|
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
commit rather than an unversioned moving download.
|
| 42 |
-
|
| 43 |
-
```bash
|
| 44 |
-
uv run nv-reason-ct-mlx download --revision MODEL_COMMIT --model-dir models/NV-Reason-CT-MLX
|
| 45 |
-
uv run nv-reason-ct-mlx verify --model-dir models/NV-Reason-CT-MLX
|
| 46 |
-
uv run nv-reason-ct-mlx report \
|
| 47 |
-
--input /path/to/ct.nii.gz \
|
| 48 |
-
--model-dir models/NV-Reason-CT-MLX \
|
| 49 |
-
--anatomy-region chest \
|
| 50 |
-
--prompt "write a structured chest CT report" \
|
| 51 |
-
--max-new-tokens 512 \
|
| 52 |
-
--output-dir outputs/chest
|
| 53 |
-
```
|
| 54 |
-
|
| 55 |
-
All runtime metadata and shard hashes are verified before inference. The original
|
| 56 |
-
PyTorch checkpoint is not needed. This layout is for the standalone port and is
|
| 57 |
-
not loaded with Transformers AutoModel or the general MLX-LM loader.
|
| 58 |
-
|
| 59 |
-
## Validation limits
|
| 60 |
-
|
| 61 |
-
Historical FP32 synthetic engineering gates cover four cases and exact generated
|
| 62 |
-
tokens: `fp32-engineering-qualification.json`. Clean-wheel CPU image/text parity,
|
| 63 |
-
full tensor conversion integrity and package checks are in `standalone-verification.json`.
|
| 64 |
-
Fresh standalone learned inference remains pending while the shared Metal device
|
| 65 |
-
is occupied by another qualification run. No clinical accuracy is established.
|
| 66 |
-
|
| 67 |
-
The model is for research and education, not clinical diagnosis or treatment decisions.
|
| 68 |
-
Outputs require human review and are not ground truth. Preserve the upstream
|
| 69 |
-
limitations and dataset/training descriptions in [the original model card](upstream_model_card.md).
|
| 70 |
-
|
| 71 |
-
## License
|
| 72 |
-
|
| 73 |
-
NVIDIA model materials, including these converted parameters, retain **OpenMDW-1.1**
|
| 74 |
-
([LICENSE](LICENSE)), Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES.
|
| 75 |
-
No separate permission from NVIDIA is implied or required beyond complying with
|
| 76 |
-
those terms. The standalone code has its own Apache-2.0 and retained third-party terms.
|
| 77 |
-
Underlying Qwen3.5 materials retain their applicable Apache-2.0 terms; the license
|
| 78 |
-
text is included in `APACHE-2.0.txt`.
|
|
|
|
| 15 |
|
| 16 |
# NV-Reason-CT MLX
|
| 17 |
|
| 18 |
+
FP32 [NV-Reason-CT](https://huggingface.co/nvidia/NV-Reason-CT) weights for Apple Silicon.
|
| 19 |
+
An unofficial port by Alfredo and Joseph Sandoval.
|
|
|
|
| 20 |
|
| 21 |
+
**[Install and run 鈫抅(https://github.com/sandovaljoseph/NV-Reason-CT-MLX#quick-start)**
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
35 shards 路 17.4 GB 路 exact BF16-to-FP32 expansion 路 no retraining.
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
All weight hashes and four CPU preprocessing cases are verified.
|
| 26 |
+
Fresh standalone GPU inference is pending.
|
| 27 |
+
[Verification](standalone-verification.json) 路 [FP32 evidence](fp32-engineering-qualification.json)
|
|
|
|
| 28 |
|
| 29 |
+
Research and education only. Reports require human review; not for clinical decisions.
|
| 30 |
+
[Upstream model card and limitations](upstream_model_card.md).
|
| 31 |
|
| 32 |
+
**License:** [OpenMDW-1.1](LICENSE), Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES.
|
| 33 |
+
Underlying Qwen3.5 terms: [Apache-2.0](APACHE-2.0.txt).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|