Nemotron 3.5 Lightning 30B: cricket reasoning LoRA adapter (NeMo RL, GRPO)

This repository contains LoRA adapter weights only. It is not a standalone model. To run inference you must load the base model nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 and then either apply this adapter on top of it or merge the adapter into the base weights. Loading this repository on its own does not work. The base model weights were not modified and are not included here.

What it is

A rank-32 LoRA adapter trained with reinforcement learning (GRPO in NeMo RL) so that the model answers T20 cricket rate and milestone questions with exact numeric answers, using fewer reasoning tokens. Rewards came from a NeMo Gym environment that checks the final number exactly: a finished, correct answer scores 1 - 0.4 * output_tokens / 4096, anything else scores 0.

Base model nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16
Method GRPO with LoRA (NeMo RL, Automodel backend), vLLM generation, NeMo Gym rewards
LoRA rank 32, alpha 64, on attention q/k/v/o projections, Mamba in_proj, shared-expert up/down projections
Dataset Balab2021/CricketData-T20-Reasoning-Qwen3.8-Full
Hardware NVIDIA Vera Rubin, 4 GPUs per node
Nodes 4 (16 GPUs)
Training steps 100 steps of 64 questions x 8 sampled answers (51,200 rollouts)
Run nemorl-cricket-1124 (2026-11-24)
Weights & Biases https://wandb.ai/balabala76/nemotron35-cricket-nemo-rl-rhea

Results

600 held-out questions, 4 sampled answers each (temperature 1.0, top-p 0.95, up to 4,096 output tokens), scored by the cricket NeMo Gym environment with the adapter served by vLLM as a LoRA module.

Base model Base + this adapter
Accuracy 86.50% 97.71%
Mean output tokens 1565 107

How to use it (the adapter must be applied or merged at inference)

Files: adapter_model.safetensors, adapter_config.json (plus automodel_peft_config.json, the NeMo Automodel description of the same adapter).

Option 1: apply the adapter at load time with PEFT

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

base = "nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(model, "Balab2021/Nemotron-3.5-Lightning-30B-A3B-Cricket-NeMo-RL-Rhea")   # adapter applied on top of the base model

Option 2: merge the adapter into the base weights, then use the result like any model

model = model.merge_and_unload()          # after the PeftModel.from_pretrained call above
model.save_pretrained("nemotron-cricket-merged")   # optional: a standalone 61 GB copy

Option 3: serve with vLLM, adapter as a LoRA module

vllm serve nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 --enable-lora --max-lora-rank 64 \
    --lora-modules cricket=<local path to this repository> --reasoning-parser nemotron_v3

Then request the model name cricket (the adapter) instead of the base model name.

Notes

  • By question type (base to adapter): run_rate 91.75% to 99.00%, chase_rate 68.12% to 94.62%, milestone 99.62% to 99.50%. The base model had 9.42% of its answers cut off at the 4,096-token limit; with the adapter none were.
  • The adapter makes the model answer with very little written reasoning (about 107 tokens on average). That is what the reward asked for; expect the same terse style on other questions.
  • Checked on 2026-11-24: Option 1 and Option 2 with transformers 5.22.2 and peft 0.21.2 (the adapter and the merged model give the same answers on sample questions), Option 3 with vLLM 0.31 (used for the results above).
  • adapter_model.safetensors holds 198 tensors. 12 of them belong to two mtp layers that exist in the NeMo Automodel version of the model but not in the transformers version; PEFT skips those 12 and loads the other 186.
  • Single training run, single seed. Differences of a point or less are not significant.
Downloads last month
17
Video Preview
loading

Model tree for Balab2021/Nemotron-3.5-Lightning-30B-A3B-Cricket-NeMo-RL-Rhea

Adapter
(26)
this model