ONNX 模型库
返回模型

说明文档

gibberish_detector_onnx:量化版

# pip install 'optimum[onnxruntime,exporters]'
from optimum.pipelines import pipeline


classifier = pipeline(
    "text-classification",
    model="pszemraj/gibberish_detector_onnx-quant-avx512_vnni",
    accelerator="ort",
)
classifier("ayy waddup")
# [{'label': 'noise', 'score': 0.5396928787231445}]

注意:如果您在不支持 avx512_vnni 的机器上使用此模型(运行 lscpu | grep avx512_vnni 检查),您的输出可能与注释中的结果不同。

pszemraj/gibberish_detector_onnx-quant-avx512_vnni

作者 pszemraj

text-classification transformers
↓ 1 ♥ 2

创建时间: 2024-02-20 03:25:16+00:00

更新时间: 2025-12-29 03:52:51+00:00

在 Hugging Face 上查看

文件 (9)

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