Run this model with HF Jobs
Run nace-ai/Hy4-MLX-4.65bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/nace-ai/Hy4-MLX-4.65bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/nace-ai/Hy4-MLX-4.65bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/nace-ai/Hy4-MLX-4.65bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use nace-ai/Hy4-MLX-4.65bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use nace-ai/Hy4-MLX-4.65bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("nace-ai/Hy4-MLX-4.65bit") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use nace-ai/Hy4-MLX-4.65bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "nace-ai/Hy4-MLX-4.65bit" --prompt "Once upon a time"
- Atomic Chat
Download PACKAGE-NOTES.md from nace-ai/Hy4-MLX-4.65bit: direct link, hf CLI and curl.
- Browser
- Download file 3.63 kB
-
https://huggingface.co/nace-ai/Hy4-MLX-4.65bit/resolve/main/PACKAGE-NOTES.md
- Command line
-
hf download hf://nace-ai/Hy4-MLX-4.65bit/PACKAGE-NOTES.md
-
curl -L -o PACKAGE-NOTES.md https://huggingface.co/nace-ai/Hy4-MLX-4.65bit/resolve/main/PACKAGE-NOTES.md
C2 setup and restoration
This snapshot contains the unchanged 254-file base under model/, the 30,720-byte normalization supplement, and the selected custom runtime. The snapshot download contains everything the restoration helper reads. It does not need the original evidence dataset or its credentials.
Platform
Use Linux with NVIDIA CUDA support. Install the retained direct dependencies into a separate environment:
bash dependencies/prepare_mlx_cuda.sh .venv-c2
MLX 0.32.4 and mlx-lm 0.32.2 are observed runtime versions. The NumPy range and unpinned Transformers requirement are retained constraints, not a complete evaluated environment lock. Read the platform notes before setup. These portable setup scripts replace research-host paths; their installation has not been rerun as part of packaging.
If the MLX CUDA backend needs toolkit headers, use the optional header helper and set the resulting path for generation:
bash dependencies/prepare_cuda_headers.sh .venv-c2/bin/python .cuda-toolkit
export CUDA_HOME="$PWD/.cuda-toolkit" CUDA_PATH="$PWD/.cuda-toolkit"
Restoration
From this snapshot root, run the standard-library preparation helper. Use a separate directory on the same filesystem as the downloaded base:
python3 -B prepare_c2.py --output ../C2-ready
The helper links the unchanged base files with hard links and invokes the unchanged packaged restorer for shard 124. It checks the restored whole-shard SHA256 against 2a1dfaca8973b3c867249154bac3f2dbb8cb8969cb37304acef1a967ea6a66fb. It does not load a model or use a GPU. Preparation needs another 226,372,564 bytes for the restored shard, plus filesystem overhead. Do not edit files in the prepared directory: other files share their storage with the base.
A successful rerun verifies and reuses the prepared links and restored shard. The helper refuses conflicting files. If a terminated process leaves a temporary file, choose a fresh output directory. The helper checks the size of every base file but rehashes only the norm shard and small restoration inputs; use download-selector.json for the remaining frozen snapshot hashes.
The real-shard check restored all 226,372,564 bytes to the evaluated identity. All 110 tensor fields and the raw header matched the base. Only the accepted 12,288-byte BF16 model.norm.weight payload changed. The payload is already transformed; do not apply another 0.95 scaling.
Generation
Follow the command in the card. Keep scoring/runtime/run.py, scoring/port/hy_v4.py, scoring/mlx_storage_adapter.py and scoring/reference/pins.json in their supplied layout. The launcher checks evaluated runtime source hashes and installs the storage adapter before loading weights. This custom MLX-CUDA path is not a stock mlx-lm model-loader recipe.
Use a fresh generation-output directory. Full-model generation and a complete environment installation were not run for this packaging pass.
Provenance paths
The unchanged reconstruction manifest, handoff JSON and supplement receipts retain historical /root/k706/ paths. These are provenance labels, not files the public user must fetch. The restorer uses explicitly supplied local inputs and basenames only. The public selector contains snapshot-relative paths and does not point to the private evidence dataset.
Keep the model license, the inherited notices and origins with the files. Runtime attribution is in the attribution note.