← All models

text classification · English-domain · WASM · 267,961,863 bytes

What kind of “gibberish” does this model see?

Run the canonical four-class DistilBERT model locally and inspect its competing scores for clean, mild gibberish, noise, and word salad. It is a narrow input-quality signal—not a universal spam, fraud, abuse, or safety detector.

At a glance

Canonical modelmadhurjindal/autonlp-Gibberish-Detector-492513457
Immutable revision76672dd7d3575f68ab980705bcec975cc62de71c
Artifactonnx/model.onnx · exactly 267,961,863 bytes · fp32
Architecture / taskDistilBertForSequenceClassification · text-classification · logits shape [batch, 4]
InputLower-cased WordPiece tokens; training config pads/truncates at 64 tokens
RuntimeTransformers.js 3.7.5 · ONNX Runtime Web · WASM · dedicated module worker
LicenseMIT (model card metadata)
Reported validation97.356% accuracy / 97.362% macro F1 on the model card's held-out dataset; not independently reproduced here and not a guarantee for your domain

Run it

Four-way output

See inside

The classifier emits four raw logits. A softmax turns them into competing probabilities that sum to one; your threshold changes only the visible product policy, never the model output. Token chips below are the actual WordPiece inputs, including special tokens.

Run an input to reveal tensor shape, token count, latency, backend, and dtype.

Why this narrow signal can matter

Use-case portfolio

How the API works

const detector = await pipeline("text-classification",
  "madhurjindal/autonlp-Gibberish-Detector-492513457",
  { revision: "76672dd7d3575f68ab980705bcec975cc62de71c", dtype: "fp32" });
const scores = await detector(text, { top_k: null });

This showcase uses the lower-level tokenizer and sequence-classification model in a versioned worker so it can expose real token IDs, logits, tensor shape, cancellation, bounded queuing, and deterministic release.

References