ONNX 模型库
返回模型

说明文档

codebert-malicious-urls-onnx

这是一个被 LLM Guard 使用的 ONNX 模型,用于大语言模型的安全扫描。

模型详情

基础模型: DunnBC22/codebert-base-Malicious_URLs

此模型已转换为 ONNX 格式,以优化推理性能。

用法

此模型由 LLM Guard 库自动使用:

pip install llm-guard
from llm_guard.input_scanners import PromptInjection

scanner = PromptInjection()
result = scanner.scan("Your prompt here")
print(result)

当使用相应的扫描器时,模型将自动下载。

关于 LLM Guard

LLM Guard 是一个全面的大语言模型安全工具包,提供:

  • 🛡️ 提示词注入检测
  • 🔒 PII(个人身份信息)检测和匿名化
  • 🚫 毒性过滤
  • ⚖️ 偏见检测
  • 📊 以及更多安全功能

代码仓库: https://github.com/akto-api-security/llm-guard

许可证

MIT 许可证


Akto API Security 维护

TangoBeeAkto/codebert-malicious-urls-onnx

作者 TangoBeeAkto

text-classification transformers
↓ 0 ♥ 0

创建时间: 2025-11-30 14:24:17+00:00

更新时间: 2025-11-30 14:43:17+00:00

在 Hugging Face 上查看

文件 (9)

.gitattributes
README.md
config.json
merges.txt
model.onnx ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json