Views
No views yet
nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16,
pruned with REAP expert pruning (128 → 77 routed experts per MoE layer,
40% sparsity), calibrated on a general-purpose corpus with a slight coding
focus (general instruction 44% / coding 33% / math 22%, 538 samples
generated by the full model). MTP head stripped. No LoRA included — this is
the pre-LoRA base; a domain LoRA (subagent orchestration + coding/tool-calling
mix) is the intended next step.| Base model | NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 |
| Params before / after | 31.58B → 19.87B (active stays ~3B) |
| Pruning | REAP, 40% expert sparsity, 128→77 experts/layer × 23 MoE layers |
| Calibration data | 538 samples: instruction 238, coding 180, math 120 (from the owner's general/coding/math prompt banks) |
| Quantization | None in this repo (BF16); IQ4_NL GGUF ≈ 11.5GB (see below) |
| License | OpenMDW-1.1 (same as base) |
model-*.safetensors)reap/): how the pruning was
calibrated, the prompt-bank mix, and how to redo it on your own data.hidden=2688, moe_intermediate=1856. Neither is divisible by 256, so
llama.cpp K/IQ quant formats (256-element superblocks) cannot represent the
expert weights — every GGUF quant falls back to block-32 formats (~4.5 bpw
floor) regardless of requested bit width. At 30B that floor is ~18GB; at 20B
it is ~11.5GB. REAP removes the redundant experts so the model fits smaller
quantization budgets without touching the active computation:| Source | Share | Content |
|---|---|---|
| instruction (openhermes-style) | 44% | general QA, writing, reasoning, how-to |
| coding (deepseek trajectories + opencode) | 33% | coding problems, agentic code tasks |
| math (metamath-style) | 22% | word problems, arithmetic, reasoning |
reap/.1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model = AutoModelForCausalLM.from_pretrained(
5 "sleepyeldrazi/Nemotron-3.5-Lightning-30B-A3B-REAP-20B",
6 torch_dtype=torch.bfloat16, trust_remote_code=True)
7tok = AutoTokenizer.from_pretrained("sleepyeldrazi/Nemotron-3.5-Lightning-30B-A3B-REAP-20B")1llama-quantize model.gguf out-IQ4_NL.gguf IQ4_NL
2llama-server -m out-IQ4_NL.gguf -c 131072 --reasoning-parser nemotron_v3-c 131072 (128K) is a safe default for 16GB-VRAM GPUs and
24GB Macs — KV is only ~6KB/token (6 attention layers, 2 KV heads), so 128K
context costs roughly 0.8GB. The model itself supports up to 1M tokens
(256K is NVIDIA's single-GPU deployment length); on laptops the practical
limit at longer contexts is prefill time, not memory — raise -c (e.g.
262144) if your workload needs it.REAPPruningModifier, plus 3 small patches for the NemotronH architecture (documented in reap/README.md)reap/generate_general_data.pyhidden=2688 / moe_intermediate=1856 are not 256-divisible, so llama.cpp GGUF quants floor at block-32 formats (~4.5 bpw); at 20B that is ~11.5GB instead of ~18GBreap/generate_general_data.py (or your own loader), then run
reap/reap_nemotron.py --data yours.jsonl --sparsity 0.40. Full step-by-step,
patches, and hardware notes: reap/README.md.LICENSE. If you upload derived model files,
carry the same license and attribute NVIDIA for the base weights.