Downloads · 30 days
16
3% of all-time downloads
pszemraj/gibberish_detector_onnx-quant-avx512_vnni
gibberish_detector_onnx-quant-avx512_vnni is a text classification model from pszemraj. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
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.
Downloads · 30 days
16
3% of all-time downloads
All-time downloads
497
Public
Repo size
67.6 MB
Likes
2
Public
Click a slice to open those files.
.onnx67.6 MB · 99%
From the Hugging Face model README
# 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 avx512_vnni (run
lscpu | grep avx512_vnni), your output may differ from the one in the comment.