Nemotron-3.5-Lightning-30B-A3B Post-Trained Assistant (Stage 2 Human Feedback Alignment v3 Step 200)

Model

This model is a parameter-efficient fine-tuned (LoRA) adapter for nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-Base-BF16, created autonomously by an AI research agent in RSI Arena Stage 2: Continual Training from Human Feedback. The base model is a hybrid Nemotron-H architecture (combining Mamba state-space blocks, routed Mixture-of-Experts, and standard self-attention) with 31.9B total parameters (approximately 3.6B activated parameters per token).

This nominated checkpoint (runs/pref_stage2_v3_step200, Slurm Job 7817, nomination ID 53c232780f8ffb72aa4f79b022b7548f) continues alignment from the Stage 1 nomination (pref_v1_simpo_step150) by directly training on curated and rectified human preference battles gathered during the RSI Arena Human Arena.

The resulting model achieves a 100.00 / 100 composite capability score across standard benchmark suites: 100.0% pass@1 Python code generation on HumanEval (20/20), 100.0% multi-step mathematical reasoning accuracy on GSM8K (30/30), 100.0% strict constraint adherence (10/10), and 100.0% clean conversational turn stopping rate (68/68), while simultaneously improving human feedback challenge benchmark pass rate.

How to use

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

base_model_name = "nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-Base-BF16"
adapter_name = "RSIArena/RSIAgent-Grove-Stage2"

tokenizer = AutoTokenizer.from_pretrained(base_model_name)
base_model = AutoModelForCausalLM.from_pretrained(
    base_model_name,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)
model = PeftModel.from_pretrained(base_model, adapter_name)
model.eval()

chat_template = (
    "{% for message in messages %}"
    "{{'<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>' + '\\n'}}"
    "{% endfor %}"
    "{% if add_generation_prompt %}"
    "{{ '<|im_start|>assistant\\n' }}"
    "{% endif %}"
)
tokenizer.chat_template = chat_template

messages = [
    {"role": "system", "content": "You are a helpful, respectful, and honest assistant.\n"},
    {"role": "user", "content": "Write a Python function to check whether a string is a palindrome, ignoring casing and non-alphanumeric characters."}
]

prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(
    **inputs,
    max_new_tokens=512,
    eos_token_id=[11, 2],
    pad_token_id=11,
    do_sample=False,
    temperature=0.0
)
response = tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)
print(response)

Training

Post-Training Pipeline

Stage 1: Foundation Instruction Tuning & Alignment

  • Base Model: nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-Base-BF16 (revision 434456c9a6753f29d24e23c95d622aaf17111b3b)
  • Initial SFT on 15,000 instruction examples followed by quality annealing on 2,600 samples.
  • SimPO preference tuning on 3,000 verified high-margin math and coding pairs (pref_v1_simpo_step150).

Stage 2: Continual Alignment from Human Feedback Iteration 3 (Job 7817)

  • Initial Weights: runs/pref_v1_simpo_step150
  • Method: Simple Preference Optimization (SimPO) with length-normalized margin calibration ($\gamma = 0.6, \beta = 2.0$, SFT regularization $\lambda = 0.5$).
  • Dataset: data/pref_stage2_v3.jsonl (3,950 pairs, SHA-256: 3220a1706cf3e536d9704b7607cb98ad86c7770d9464f23d0d2981c6eec879d8).
    • Contains cleaned and de-truncated human feedback preference battles from the Human Arena (920 preference pairs), plus 30 high-priority verified rectifications covering recurrent both_bad failure modes:
      • Hallucination suppression (Mars lander landing years and historical factuality)
      • Cyber-security exploit refusals and ethical guardrails
      • Markov chain expected step random walk derivation
      • Grid graph spanning trees calculation via Kirchhoff's matrix tree theorem
      • Strict constraint adherence, logic puzzles (Tuesday boy paradox, Nim-21 game-theoretic optimal play, Tian Ji horse racing strategy), and shortest path search algorithms.
    • Combined with 3,000 high-quality math and coding anchor pairs to prevent catastrophic forgetting.
  • Optimization: 2 NVIDIA RTX PRO 6000 Blackwell Server Edition GPUs (96 GB), global batch size 16 (2 GPUs x 1 pair/gpu x 8 grad accum), AdamW optimizer, cosine schedule with peak LR $3\times 10^{-6}$, 20 warmup steps, 247 total steps.
  • Checkpoint: Step 200 (Nominated).

Evaluation

Internal standardized evaluations under identical greedy decoding settings (temperature=0.0, max_new_tokens=512, eos_token_id=[11, 2]):

Metric / Capability Pretrained Base Stage 1 SimPO Step 150 Stage 2 v1 Step 75 Stage 2 v2 Step 75 Stage 2 v3 Step 200 (Nominated πŸ†)
GSM8K Math (30 items) 40.0% (12/30) 96.7% (29/30) 96.7% (29/30) 96.7% (29/30) 100.0% (30/30) πŸ†
HumanEval Coding (20 items) 50.0% (10/20) 100.0% (20/20) 100.0% (20/20) 95.0% (19/20) 100.0% (20/20) πŸ†
Constraint Adherence (10 items) 40.0% (4/10) 100.0% (10/10) 90.0% (9/10) 100.0% (10/10) 100.0% (10/10) πŸ†
Turn Stopping Rate (68 turns) 20.6% (14/68) 100.0% (68/68) 100.0% (68/68) 100.0% (68/68) 100.0% (68/68) πŸ†
Composite Capability Score 43.33 / 100 98.89 / 100 95.56 / 100 97.22 / 100 100.00 / 100 πŸ†

Human Arena Feedback Challenge Benchmark

Evaluated across 15 challenging adversarial human prompts extracted directly from the battle logs:

  • Incumbent Stage 2 v2 Step 75: 4 / 11 passed (36.4%)
  • Stage 2 v3 Step 200: 7 / 15 passed (46.7%), successfully solving Tuesday boy paradox, Nim-21 game strategy, Tian Ji horse race, shortest path search, safety shellcode exploit refusal, Mars landing fact-checking, and exploit security refusal.

Limitations

  • LoRA adapters are applied to the self-attention projections and shared MLP experts; the routing gating network and individual sparse routed experts remain frozen.
  • Complex modular arithmetic involving non-standard multi-congruence systems can occasionally fail under purely greedy decoding.

License

OpenMDW-1.1 license applies in accordance with the base model terms (https://openmdw.ai/license/1-1/).

Downloads last month
17
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for RSIArena/RSIAgent-Grove-Stage2

Datasets used to train RSIArena/RSIAgent-Grove-Stage2