玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
ApiFort /

LLMFort-jailbreak_content_injection

HF 源站

ApiFort/LLMFort-jailbreak_content_injection is an uncensored open-source model hosted on Hugging Face.

Text GenerationsafetensorsEnglishMultilingual4Bpeftlorasfttransformerstrlsecurityguardrailsconversationaltr
README.md说明 / 使用方法

base_model: Qwen/Qwen3-4B-Instruct-2507 library_name: peft pipeline_tag: text-generation tags:

  • base_model:adapter:Qwen/Qwen3-4B-Instruct-2507
  • lora
  • sft
  • transformers
  • trl
  • security
  • guardrails
  • multilingual language:
  • en
  • tr

🛡️ LLM-Fort Guardrails Suite (v1)

Base Model Framework Collection

LLM-Fort Guardrails is a suite of 7 security-focused LoRA adapters fine-tuned on top of Qwen/Qwen3-4B-Instruct-2507. These adapters serve as lightweight, high-performance security guardrails mapped to critical safety boundaries.

By offloading classification and security checks to lightweight adapters, the system achieves enterprise-grade security filtering without degrading the inference performance of the main application model.

📖 Collection Page: ApiFort/llmfort-guardrails-v1


🗺️ Category Mappings

Vulnerability CategoryAdapter Model IDDescription
🚨 Prompt Injectionjailbreak_content_injectionDetects direct/indirect prompt injection and jailbreak attempts
🕵️ PII ExtractionpiiIdentifies and extracts PII (person names, ID numbers, etc.)
💻 Code Securitycode_securityScans code snippets for software vulnerabilities (SQLi, SSRF, XSS)
🚦 Excessive Agencyexcessive_agencyIntercepts unauthorized or destructive critical tool calls
🔒 System Prompt Leakagesystem_prompt_leakageDetects attempts to extract developer system instructions
⚠️ Content Safetycontent_safetyBlocks hate speech, harassment, and general unsafe content
🛑 Unbounded Consumptionunbounded_consumptionMitigates resource exhaustion and compute DoS attacks

📈 Performance & Evaluation

Visual comparison of baseline performance versus the trained adapters:

LLM-Fort Guardrails Accuracy Comparison

Benchmark Results

Below is the exact accuracy performance measured across our evaluation test suites:

CategoryGemma 4-E4B-itQwen 3.5 4BQwen3 4B Instructllmfort ai guardrail v.1.0
Prompt Injection56.30%64.70%84.14%98.10%
PII Extraction84.36%75.84%78.31%95.30%
Code Security83.30%75.10%76.20%90.07%
Excessive Agency60.90%68.80%53.80%96.50%
System Prompt Leakage79.40%79.70%78.70%98.08%
Content Safety84.00%78.80%76.00%95.30%
Unbounded Consumption63.00%63.30%55.00%99.79%

🗃️ Training & Validation Datasets

The adapters were trained and validated on the following dataset references:

CategorySource Datasets / References
Prompt InjectionBIPIA, Deepset, Internal 1K Validation
PII ExtractionAI4Privacy PII Masking 300k (EN, TR, FR, DE, ES)
Code Securityr2vul, securecode_web
Excessive Agencyjinjinyien/ToolSafety, minpeter/xlam-function-calling-60k-parsed
System Prompt LeakageS-Labs/prompt-injection-dataset, Synthetic data
Content SafetyNVIDIA Nemotron-3.5-Content-Safety-Dataset, Wildguardmix
Unbounded Consumptionneuralchemy/prompt-injection-Threat-Matrix, Lakera/mosscap_prompt_injection
HUGGING FACE

上游数据

HF 下载量5
HF 点赞量0

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
ApiFort
最近更新
2026/07/20
最新创建
2026/07/17
HF 趋势
未知
数据快照
2026/09/17
版本
未知
许可证
unknown