rafaelsandroni commited on
Commit
5eab0b3
·
verified ·
1 Parent(s): f7178de

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -8
README.md CHANGED
@@ -1829,13 +1829,13 @@ tags:
1829
 
1830
  # ModernGuard-1
1831
 
1832
- > TL;DR: A state-of-the-art multilingual prompt injection classifier achieving 96.3% F1 score with industry-leading 20ms latency, 20x faster than cloud alternatives, trained on a large corpus of attacks, capable of detecting both explicitly malicious prompts as well as data that contains injected inputs.
1833
 
1834
  ModernGuard-1 is a state-of-the-art, cheaper and faster multilingual classifier designed by GuardionAI for real-time detection of prompt injections and jailbreak attempts. Built on the ModernBERT architecture, the model provides industry-leading latency for securing LLM-based applications across over 1,080 languages, making it one of the fastest and most linguistically diverse safety classifiers available.
1835
 
1836
  ## Model Details
1837
 
1838
- **Developed by:** [https://guardion.ai][GuardionAI] [https://linkedin.com/in/rafaelsandroni][(@rafaelsandroni)]
1839
 
1840
  **Model Type:** Sequence Classification (Binary)
1841
 
@@ -1869,7 +1869,7 @@ ModernGuard-1 is fine-tuned to handle both direct (jailbreaks) and indirect (thi
1869
  ## Key Features
1870
 
1871
  - **Massive Multilingualism:** Pre-trained on 1,080 languages via mmBERT, ensuring protection for global applications.
1872
- - **Modernized Efficiency:** Leverages Flash Attention 2 and Unpadding to eliminate wasted compute, allowing for ~20ms inference on L4 GPUs.
1873
  - **Long-Context Guarding:** Unlike previous BERT models limited to 512 tokens, ModernGuard-1 can scan long RAG documents or extended conversations up to 8k tokens.
1874
 
1875
  ## Primary Use Cases
@@ -1894,9 +1894,9 @@ The model was pre-trained on 3T+ tokens across 1,800+ languages using a three-ph
1894
 
1895
  ### Fine-tuning (ModernGuard)
1896
 
1897
- - **Dataset:** 5 million examples of prompt injections and safe prompts.
1898
  - **Diversity:** Balanced across 11 core languages: English, Spanish, Portuguese, French, Italian, Russian, Chinese, Hindi, Japanese, Arabic, and German to prevent "jailbreak translation" bypasses.
1899
- - **Synthetic Data:** Includes red-teaming data from previous iterations to capture evolving "adversarial" styles (e.g., roleplay, Base64 encoding, and obfuscation).
1900
 
1901
  ## Performance & Benchmarks
1902
 
@@ -1904,17 +1904,17 @@ The model was pre-trained on 3T+ tokens across 1,800+ languages using a three-ph
1904
 
1905
  ModernGuard-1 is optimized for production environments requiring sub-30ms overhead.
1906
 
1907
- - **Latency:** Optimized for ~20ms response times in production pipelines (e.g., L4 NVIDIA GPUs)
1908
  - **Throughput:** 2x to 4x faster than previous generation mDeBERTa-v3 or XLM-R models.
1909
  - **Optimal Window:** While the model supports 8k tokens, a window of 2,048 tokens provides the best balance of safety and speed.
1910
 
1911
  ### Preview Benchmark: Prompt Security Leaderboard
1912
 
1913
- Comprehensive benchmark for prompt injection detection across languages (Dec 10, 2025)
1914
 
1915
  | Rank | Guardrail | Org | Overall F1 | English | Multilingual | FPR | FNR | P50 Latency (ms) |
1916
  |------|-----------|-----|------------|---------|--------------|-----|-----|--------------|
1917
- | 1 | ModernGuard-1 | GuardionAI | 96.3% | 92.7% | 94.6% | 6.1% | 7.4% | 20ms (Quantized) |
1918
  | 2 | ModernGuard-0 | GuardionAI | 86.3% | 88.1% | 84.6% | 16.3% | 15.4% | 128ms |
1919
  | 3 | Prompt Shield | Azure | 43.0% | 93.5% | 27.9% | 2.4% | 72.1% | 169ms |
1920
  | 4 | Model Armor | Google Cloud | 18.7% | 76.4% | 10.7% | 4.7% | 89.3% | 381ms |
 
1829
 
1830
  # ModernGuard-1
1831
 
1832
+ > TL;DR: A state-of-the-art multilingual prompt injection classifier achieving 96.3% F1 score with industry-leading 30ms latency, 20x faster than cloud alternatives, trained on a large corpus of attacks, capable of detecting both explicitly malicious prompts as well as data that contains injected inputs.
1833
 
1834
  ModernGuard-1 is a state-of-the-art, cheaper and faster multilingual classifier designed by GuardionAI for real-time detection of prompt injections and jailbreak attempts. Built on the ModernBERT architecture, the model provides industry-leading latency for securing LLM-based applications across over 1,080 languages, making it one of the fastest and most linguistically diverse safety classifiers available.
1835
 
1836
  ## Model Details
1837
 
1838
+ **Developed by:** [GuardionAI](https://guardion.ai) [@rafaelsandroni](https://linkedin.com/in/rafaelsandroni)
1839
 
1840
  **Model Type:** Sequence Classification (Binary)
1841
 
 
1869
  ## Key Features
1870
 
1871
  - **Massive Multilingualism:** Pre-trained on 1,080 languages via mmBERT, ensuring protection for global applications.
1872
+ - **Modernized Efficiency:** Leverages Flash Attention 2 and Unpadding to eliminate wasted compute, allowing for ~30ms inference on L4 GPUs.
1873
  - **Long-Context Guarding:** Unlike previous BERT models limited to 512 tokens, ModernGuard-1 can scan long RAG documents or extended conversations up to 8k tokens.
1874
 
1875
  ## Primary Use Cases
 
1894
 
1895
  ### Fine-tuning (ModernGuard)
1896
 
1897
+ - **Dataset:** A large corpus of attacks collected from AI red teaming, sinthetic and proprietary data.
1898
  - **Diversity:** Balanced across 11 core languages: English, Spanish, Portuguese, French, Italian, Russian, Chinese, Hindi, Japanese, Arabic, and German to prevent "jailbreak translation" bypasses.
1899
+ - **Synthetic Data:** Includes red-teaming data to capture evolving "adversarial" styles (e.g., roleplay, Base64 encoding, and obfuscation).
1900
 
1901
  ## Performance & Benchmarks
1902
 
 
1904
 
1905
  ModernGuard-1 is optimized for production environments requiring sub-30ms overhead.
1906
 
1907
+ - **Latency:** Optimized for ~30ms response times in production pipelines (e.g., L4 NVIDIA GPUs)
1908
  - **Throughput:** 2x to 4x faster than previous generation mDeBERTa-v3 or XLM-R models.
1909
  - **Optimal Window:** While the model supports 8k tokens, a window of 2,048 tokens provides the best balance of safety and speed.
1910
 
1911
  ### Preview Benchmark: Prompt Security Leaderboard
1912
 
1913
+ Comprehensive benchmark for prompt injection detection across languages (Jan 10, 2025)
1914
 
1915
  | Rank | Guardrail | Org | Overall F1 | English | Multilingual | FPR | FNR | P50 Latency (ms) |
1916
  |------|-----------|-----|------------|---------|--------------|-----|-----|--------------|
1917
+ | 1 | ModernGuard-1 | GuardionAI | 96.3% | 92.7% | 94.6% | 6.1% | 7.4% | 30ms (Quantized) |
1918
  | 2 | ModernGuard-0 | GuardionAI | 86.3% | 88.1% | 84.6% | 16.3% | 15.4% | 128ms |
1919
  | 3 | Prompt Shield | Azure | 43.0% | 93.5% | 27.9% | 2.4% | 72.1% | 169ms |
1920
  | 4 | Model Armor | Google Cloud | 18.7% | 76.4% | 10.7% | 4.7% | 89.3% | 381ms |