Run this model with HF Jobs
Run Droptops/nemotron-3.5-lightning-prune-route-explore 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 and TRL to fine-tune https://huggingface.co/Droptops/nemotron-3.5-lightning-prune-route-explore. 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/Droptops/nemotron-3.5-lightning-prune-route-explore 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/Droptops/nemotron-3.5-lightning-prune-route-explore. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Droptops/nemotron-3.5-lightning-prune-route-explore. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Droptops/nemotron-3.5-lightning-prune-route-explore with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Droptops/nemotron-3.5-lightning-prune-route-explore with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Droptops/nemotron-3.5-lightning-prune-route-explore") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Droptops/nemotron-3.5-lightning-prune-route-explore") model = AutoModelForCausalLM.from_pretrained("Droptops/nemotron-3.5-lightning-prune-route-explore", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Droptops/nemotron-3.5-lightning-prune-route-explore with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Droptops/nemotron-3.5-lightning-prune-route-explore" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Droptops/nemotron-3.5-lightning-prune-route-explore", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Droptops/nemotron-3.5-lightning-prune-route-explore
- SGLang
How to use Droptops/nemotron-3.5-lightning-prune-route-explore with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Droptops/nemotron-3.5-lightning-prune-route-explore" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Droptops/nemotron-3.5-lightning-prune-route-explore", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Droptops/nemotron-3.5-lightning-prune-route-explore" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Droptops/nemotron-3.5-lightning-prune-route-explore", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Droptops/nemotron-3.5-lightning-prune-route-explore with Docker Model Runner:
docker model run hf.co/Droptops/nemotron-3.5-lightning-prune-route-explore
Nemotron-3.5-Lightning Prune-Route-Explore (System-1 Calibrated Branch Pruner)
Standalone merged bf16 checkpoint of nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 (rev: a9904d24bcc1d289a1950fa9d2b978c47cf903b9) post-trained with Halo 1.3.0 for the White Circle Halo Competition (ft-nemotron track).
Both Stage-1 SFT and Stage-2 Offline GRPO Attention (q_proj, k_proj, v_proj, o_proj) + Mamba-2 (in_proj, out_proj) LoRA adapters are cleanly folded back into standard NemotronHForCausalLM weights via Halo's scripts/after_training/merge_peft_adapters.py --streaming so the model loads out-of-the-box in stock transformers / vLLM with zero custom PEFT patches.
What It Does
Acts as the Layer-1 System-1 Branch Pruner in Prune, Route, Explore: given a search or agentic branch state, it runs a single zero-prose forward pass (enable_thinking=False) and emits calibrated probabilities over three single-token decisions:
A(id=1065): KEEP (branch viable)B(id=1066): KILL (branch unreachable, inconsistent, or policy-violating)C(id=1067): UNSURE (abstain and pass to Layer-2Route)
Mean inference latency on 1x H200 (bf16, batch 8): 14.16 ms / branch (zero prose tokens generated).
Halo 1.3.0 Training Recipe
- Stage-1 Halo SFT (
180steps, 2 epochs,11,716oracle-labeled train branches,lora_r=32,ep=1,use_grouped_gemm=true): Teaches zero-proseA/B/CSystem-1 classification across Game of 24, strictly deduplicated 5รโ5 Mini Crosswords, and Tier-2 Agentic side-effect states (eval_loss: 0.8384 -> 0.6954, 13.6 min on 1รโ H200). - Stage-2 Halo Offline GRPO (
297steps, 1 epoch,5,0003-action groups,lora_r=16,kl_beta=0.05,advantage_method=z_norm,loss_type=dapo): Optimizes calibrated branch decisions under asymmetric false-kill rewards (VIABLE: [+1.0, -2.0, +0.35],DEAD: [-0.5, +1.0, +0.15]), slashing Game of 24 ECE by รขหโ23.9% and Game of 24 false-kill rateffrom11.71% -> 9.23%. - Standalone bf16 Merge: Folded 70 Attention + Mamba-2 LoRA tensors cleanly into standalone
NemotronHForCausalLMbf16 safetensors.
Audited Benchmark Results (1x H200, bf16, 3 Seeds 42/43/44)
Pre-registration SHA-256 lock: 7ec823c1e3ed518773c82706202b6461b1e94643c1ce90333f554d81207adf4e
All 29,659 branch decisions verified in DICE-hardened JSONL ledgers (all_ok: true).
| Model | Headline BalAcc*(1-ECE) |
Calibrated ECE | Adaptive ECE | Brier / BSS | False-Kill f |
Balanced Acc. | Cost Saving S (tok/call) |
Latency |
|---|---|---|---|---|---|---|---|---|
Base Nemotron-3.5-Lightning (C0) |
0.4245 |
0.1424 |
0.1496 |
0.1893 / 0.2414 |
60.87% |
49.50% |
+6.68 |
14.37 ms |
Stage-1 Halo SFT (C1-SFT) |
0.8765 |
0.0282 |
0.0301 |
0.0688 / 0.7243 |
6.87% |
90.19% |
+219.80 |
14.19 ms |
| Stage-2 Halo SFT + Offline GRPO (this model) | 0.8806 (+107.5%) |
0.0202 (รขหโ85.8%) |
0.0207 |
0.0688 / 0.7244 |
6.85% |
89.88% |
+221.29 (33.1รโ) |
14.16 ms |
Live 50-Puzzle Same-Weights google/diffusiongemma-26B-A4B-it H4 2รโ2 (Game of 24 ranks 901รขโฌโ950)
- Autoregressive BFS (
Fvs.E): Solve rate24% -> 42%(+18 pts), tokens/solveรขหโ58.1%(5,216.7 -> 2,184.5), median tokensรขหโ34.1%, wall-clockรขหโ29.1%(pruner overhead1.22%). - Diffusion BFS (
Hvs.G): Solve rate30% -> 42%(+12 pts), tokens/solveรขหโ40.1%(2,705.3 -> 1,621.6,รขหโ68.9%vs. unpruned ARE), mean tokensรขหโ16.1%(95% CI[+8.5%, +23.0%]), wall-clockรขหโ20.5%(8.86 s/puzzle,8.1รโfaster thanE), denoising passesรขหโ18.7%.
Quick Usage (Single-Forward-Pass Logit Extraction)
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "Droptops/nemotron-3.5-lightning-prune-route-explore"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.bfloat16, device_map="auto").eval()
abc_ids = [tok.encode(t, add_special_tokens=False)[0] for t in ("A", "B", "C")]
messages = [
{"role": "system", "content": "Judge branch viability. Answer exactly A (KEEP), B (KILL), or C (UNSURE)."},
{"role": "user", "content": "Game of 24 starting [4, 7, 8, 8]. Step: 8 - 4 = 4 -> remaining [4, 7, 8]."},
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
enc = tok(prompt, return_tensors="pt").to(model.device)
with torch.inference_mode():
logits = model(**enc, use_cache=False).logits[0, -1, abc_ids].float()
probs = torch.softmax(logits / 1.5944, dim=-1).tolist() # calibrated temperature T=1.5944 (frozen tau_kill=0.5920)
print(dict(zip(["KEEP", "KILL", "UNSURE"], probs)))
- Downloads last month
- -