ONNX 模型库
返回模型

说明文档

bert-chinese-ner-onnx

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

模型详情

基础模型: gyr66/bert-base-chinese-finetuned-ner

该模型已转换为 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/bert-chinese-ner-onnx

作者 TangoBeeAkto

token-classification transformers
↓ 0 ♥ 0

创建时间: 2025-11-30 14:15:01+00:00

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

在 Hugging Face 上查看

文件 (8)

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