NewNVIDIA Nemotron 3.5 adopts LLM-as-a-Verifier

Turn any LLM into a Verifier

You can scale verification compute for the LLMs you already use, or fine-tune an ultra-fast verifier on your own data.

GitHub Trending 2026/08
#2
Hugging Face Trending 2026/09
#4
GitHub stars
6.5k
Forks
565

Latest Blog Posts

Recent case studies and research from the OpenVerify community

All posts

Get started

Two packages, each with its own API. Pick the one that matches what you have today.

  1. Zero-shot

    Verify with LLM-as-a-Verifier

    Set one backend that returns log-probabilities: DEEPSEEK_API_KEY, VERTEX_API_KEY, or OPENAI_BASE_URL for a local server. Then select, compare, or track progress.

    LLM-as-a-Verifier quickstart

    pip install llm-verifier
    import llm_verifier
    
    result = llm_verifier.select(
        problem=problem,
        candidates=[traj_1, traj_2, traj_3, traj_4, traj_5],
        criteria={"Root cause": "Did the agent fix the real cause?",
                  "Verification": "Did the agent confirm the fix?"},
        n_evaluations=4,   # repeated evaluations per criterion
        pivots=2,          # tournament budget
    )
    print(result.index, result.ranking)
  2. Fine-tune

    Train a verifier with CLM

    Your data is a list of dicts or a .jsonl file: candidates with their outcomes, agent step traces, or plain input and answer pairs. Serve the frozen encoder once, then clm.finetune trains the two heads and hands the best one back.

    CLM fine-tuning guide

    pip install contrastive-lm
    
    # Serve the frozen encoder (Qwen3-8B embeddings)
    vllm serve Qwen/Qwen3-8B --served-model-name qwen3-8b \
        --runner pooling --max-model-len 2048 --port 8090 &
    import clm
    
    trainset = [
        {"state": task, "candidates": [patch_a, patch_b, patch_c],
         "rewards": [1, 0, 0]},          # which attempts passed
        ...
    ]
    
    result = clm.finetune(trainset)      # uses the encoder on localhost:8090
    print(result.baseline_score, "->", result.best_score)
    
    engine = result.engine()             # the head saved at result.checkpoint
    engine.rank(problem, candidates)     # best first, with a probability each