corehu

OPEN MODELS

distilbert-nsfw-text-classifier vs Llama-Prompt-Guard-2-22M-onnx

distilbert-nsfw-text-classifier and Llama-Prompt-Guard-2-22M-onnx need about the same GPU memory (2 GB). Cheapest way to run them today: distilbert-nsfw-text-classifier from $0.36 per hour on RTX A4000, Llama-Prompt-Guard-2-22M-onnx from $0.36 per hour on RTX A4000.

distilbert-nsfw-text-classifierLlama-Prompt-Guard-2-22M-onnx
Developereliasalbouzidigravitee-io
Parameters70M70M
WeightsF32F32
Licenseapache-2.0llama4
GPU memory needed≈ 2 GB≈ 2 GB
Cheapest GPU that fitsRTX A4000 · $0.36RTX A4000 · $0.36
Downloads5,1565,445

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.

Questions

Which needs less GPU memory, distilbert-nsfw-text-classifier or Llama-Prompt-Guard-2-22M-onnx?
distilbert-nsfw-text-classifier and Llama-Prompt-Guard-2-22M-onnx need about the same GPU memory (2 GB).
Which is cheaper to run, distilbert-nsfw-text-classifier or Llama-Prompt-Guard-2-22M-onnx?
Cheapest way to run them today: distilbert-nsfw-text-classifier from $0.36 per hour on RTX A4000, Llama-Prompt-Guard-2-22M-onnx from $0.36 per hour on RTX A4000.