Downloads · 30 days
10
1% of all-time downloads
bobber/lex-interviewer-nemotron-4b-grpo-v21
lex-interviewer-nemotron-4b-grpo-v21 is a text generation model from bobber. Use it when you need the model to write or continue text. It is set up for transformers.js. The card lists the license as other.
Nemotron-3-Nano-4B fine-tuned with GRPO to conduct Lex Fridman–style interviews. Deployed as a WebGPU Q4 ONNX model for in-browser inference via transformers.js.
Downloads · 30 days
10
1% of all-time downloads
All-time downloads
683
Public
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.onnx_data2.1 GB · 81%
From the Hugging Face model README
Nemotron-3-Nano-4B fine-tuned with GRPO to conduct Lex Fridman–style interviews.
Deployed as a WebGPU Q4 ONNX model for in-browser inference via transformers.js.
This is the best-performing checkpoint from a series of GRPO experiments on the Lex Fridman interviewer task.
| Metric | Value |
|---|---|
| Thinking-enabled functional eval | 0.867 ± 0.231 |
| on_topic | 84% |
| uses_guest | 80% |
| probing | 96% |
Significantly outperforms the base Nemotron-3-Nano-4B model (0.760) and all prior fine-tuned checkpoints.
Given a guest's statement, the model asks one focused, incisive follow-up question that:
It uses Nemotron's extended thinking (enable_thinking: true) to reason before generating the question.
Measured across v21, v22, v23, v24 experiments:
GRPO_success = P(at least 1 zero per group) ≈ 0.25–0.35
× hard binary reward gate (clear zeros vs. 0.7+ goods)
× starting below the reward optimum
GRPO learns from contrast, not from correctness. v21 hit the Goldilocks zone:
sft-lora-v2-native left room to climbFull analysis: docs/GRPO_V21_SUCCESS_ANALYSIS.md in bobber/lex-fridman-interviewer-project.
Built using the LoRA-only patching strategy from the project retrospective:
onnx-community/NVIDIA-Nemotron-3-Nano-4B-BF16-ONNX (Q4 format)q/k/v/o_proj, up/down/gate_proj)Scripts: scripts/merge_lora_v21.py, scripts/patch_q4_loraonly.py in the project repo.
import { pipeline } from '@huggingface/transformers';
const interviewer = await pipeline(
'text-generation',
'bobber/lex-interviewer-nemotron-4b-grpo-v21',
{ dtype: 'q4', device: 'webgpu' }
);
const messages = [
{ role: 'system', content: 'You are an expert podcast interviewer...\n\nGuest: Andrej Karpathy' },
{ role: 'user', content: 'What is your next question?' }
];
const result = await interviewer(messages, {
max_new_tokens: 800,
do_sample: true,
temperature: 0.7,
chat_template_kwargs: { enable_thinking: true }
});
bobber/lex-interviewer-chat — runs entirely in your browser via WebGPU.
bobber/lex-fridman-interviewer-projectdocs/GRPO_V21_SUCCESS_ANALYSIS.mddocs/ONNX_RETROSPECTIVE.md