Skip to content

Enable pinned multilingual Prompt Guard - #14

Open
0xsl1m wants to merge 1 commit into
mainfrom
codex/enable-multilingual-prompt-guard
Open

Enable pinned multilingual Prompt Guard#14
0xsl1m wants to merge 1 commit into
mainfrom
codex/enable-multilingual-prompt-guard

Conversation

@0xsl1m

@0xsl1m 0xsl1m commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • add use_transformer="multilingual" for the true mDeBERTa-based Meta Prompt Guard 2 86M model
  • pin known gated Meta models to reviewed immutable Hugging Face revisions
  • resolve authentication only through HF_TOKEN/the HF cache; never retain or log raw tokens
  • add a credentialed same-repository CI smoke plus an honest deepset benchmark; fork PRs receive no secret
  • correct documentation that previously described the faster 22M DeBERTa-xsmall model as multilingual mDeBERTa

Local validation

  • 323 passed, 3 opt-in model skips
  • strict mypy clean across 54 source files
  • Ruff lint/format clean across 80 files
  • actionlint clean

Release gate

The trusted-branch ML job intentionally fails if HF_TOKEN is missing or the associated Hugging Face account has not been approved for the manually gated Meta model. The credentialed live-model result and measured benchmark must be green before merge.

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shadowshield Ready Ready Preview, Comment Jul 25, 2026 11:38pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant