Skip to content
Wednesday, 14 October 2026
Tenesys AI News
Subscribe

ModernBERT classifier

Change history

  1. 13 Oct 2026
    GitHub swaps LLM-based secret scanner for a lightweight ModernBERT classifier
    ParameterBeforeNow
    ArchitectureRemote LLM-based classification pipelineTwo-stage pipeline: regex candidate generation + fine-tuned ModernBERT classifier (ONNX, 8-bit quantized)
    PrecisionBaseline (previous LLM pipeline)13% higher (offline evaluation)
    RecallBaseline (previous LLM pipeline)19% higher (offline evaluation)
    Owner-weighted acceptanceBaseline (previous LLM pipeline)11.5% higher (online A/B)
    Median post-push scan execution timeBaseline (previous LLM pipeline)86% lower
    Serving costBaseline (previous LLM pipeline)More than 98% lower

News

Cyber Security· Important· 🧪 Worth Testing

GitHub swaps LLM-based secret scanner for a lightweight ModernBERT classifier

GitHub replaced its LLM-based pipeline for detecting generic secrets (like passwords and API keys) with a fine-tuned ModernBERT classifier combined with regex candidate generation. The new two-stage system improved detection accuracy while cutting scan time and serving costs dramatically, and it's now fast enough to run during push protection, not just after code is committed.

GitHub
ModernBERT classifier · TENESYS AI NEWS