hjLabs AI Playground

Starting the on-device runtime…

Piiranha v1 (PII) — entity recognition running in your browser

Piiranha v1 (PII) is a 280M-parameter ONNX model that tags spans of text as people, organisations, places or personal identifiers, with character offsets. On this page it runs entirely inside your browser: the 334 MB download comes straight from the Hugging Face repository “onnx-community/piiranha-v1-detect-personal-information-ONNX” into your browser cache, and every inference after that executes on your own GPU through WebGPU. Expect a download of roughly a minute on a decent connection. It fits comfortably in the browser cache and in the memory of any GPU from the last few years, including laptop integrated graphics. The model is multilingual, so it is not restricted to English input.

At a glance

Hugging Face repository
onnx-community/piiranha-v1-detect-personal-information-ONNX
Task
Entity Recognition
Download size
334 MB
Parameters
280M
Precisions
q8, fp32
Monthly downloads
2k
Languages
multi
Runs on
WebGPU in your browser (WebAssembly fallback)
Price
Free — your GPU does the work

Finds emails, phone numbers, addresses, card and account numbers — redaction that runs before the text ever leaves the tab. In practice people reach for a model like this for entity extraction and — more usefully — redacting personal data locally, before anything leaves the machine.

Available precisions: q8 (8-bit) and fp32 (full precision). q8 comes first because it roughly halves the download at a quality cost you will struggle to measure on this class of model; fp32 is there when you want the reference numbers. Hugging Face records about 2k downloads a month. It is a specialist choice rather than a default, which is exactly why it is worth trying when the popular model gets your particular input wrong.

Because there is no inference server behind this page, there is nothing to rate-limit and nothing to bill: the only cost of running Piiranha v1 (PII) here is the one-off 334 MB download, and once that is cached the page keeps working with the network switched off.

piiranha v1 (pii)piiranha v1 (pii) onnxpiiranha v1 (pii) browserrun piiranha v1 (pii) locallyonnx-community/piiranha-v1-detect-personal-information-onnxentity recognition modelpiiranha v1 (pii) webgpupiiranha v1 (pii) download sizefree entity recognition modeltransformers.js model

Frequently asked questions

How large is the Piiranha v1 (PII) download?

About 334 MB for the q8 build, including the tokenizer and config files the runtime also has to fetch — this is the whole payload, not just the weights file. It is downloaded once and then served from the browser Cache Storage API.

Can Piiranha v1 (PII) run without a GPU?

Yes, through the WebAssembly fallback, which is slower but works anywhere. WebGPU (Chrome or Edge 113+, Safari 26+) is what makes it feel interactive. On WASM, prefer the smaller quantized build.

Do I need a Hugging Face token or an API key?

No. onnx-community/piiranha-v1-detect-personal-information-ONNX is a public repository, so your browser fetches the ONNX files directly over HTTPS. There is no account, no key and no server in between.

Is my data uploaded to a server?

No. The model weights are downloaded from Hugging Face to your browser once, and every inference after that runs on your own GPU through WebGPU. Your text, images and audio are never sent anywhere — hjLabs.in has no inference server and no way to see your input.