CoolFace
Modelpublic

pszemraj/gibberish_detector_onnx-quant-avx512_vnni

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
2likes8downloads
Model Card

gibberishdetectoronnx: quantized

py
# 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}]
Note: If you use this on a machine that doesn't have avx512vnni (run `lscpu | grep avx512vnni`), your output may differ from the one in the comment.