
Nimbus-4B
Nimbus-4B is a local coding model for implementation, debugging, and code explanation. This repository is the merged BF16 Transformers checkpoint, with 5 weight shards totaling 9.08 GB (9,078,619,688 bytes).
The checkpoint contains vision weights, but this download does not include the dedicated image-processor configuration files. The example below is for text. For packaged image-processing assets, see the MLX companion, or use the GGUF package with its matching projector.
Text quickstart
Use a Transformers build that supports Qwen3.5 and Accelerate for automatic device placement. The example uses direct mode.
from transformers import AutoModelForImageTextToText, AutoTokenizer
model_id = "Nimbus-Labs/Nimbus-4B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=False)
model = AutoModelForImageTextToText.from_pretrained(
model_id, dtype="auto", device_map="auto", trust_remote_code=False
).eval()
inputs = tokenizer.apply_chat_template(
[{"role": "user", "content": "Explain a Python KeyError."}],
add_generation_prompt=True, enable_thinking=False,
tokenize=True, return_dict=True, return_tensors="pt",
).to(model.device)
output = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(output[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Download size is not a runtime memory requirement.
Historical coding results
An earlier Nimbus-4B Q5_K_M file (SHA-256 beginning def18cfa) scored 121/164 on HumanEval, 112/164 on HumanEval+, 285/378 on MBPP, and 232/378 on MBPP+. That evaluation used direct mode with one answer per task. These figures are for the earlier file, not this download.
Provenance
Immediate upstream: Qwen/Qwen3.5-4B-Base. This package is part of the Nimbus Labs fine-tuned release. See the release manifest and SHA256SUMS.
Other formats
llama.cpp GGUF · Apple Silicon MLX
License and attribution
See LICENSES.md, third-party notices, and the bundled Apache 2.0 text. Review and test generated code before running it.