Skip to content

Hbp100 v2.2.0

Choose a tag to compare

@Erox-02 Erox-02 released this 07 Aug 05:43
· 15 commits to main since this release

HBP100 v2.2.0

Contextual privacy firewall using machine learning for intelligent PII masking.

Features

~ LightGBM + TF-IDF privacy engine
~ Context-aware masking decisions
~ Placeholder generation and validation
~ Metadata vault for reversible masking
~ Restore API
~ Lightweight package (~590 KB wheel)
~ Sub-millisecond average latency
~ MIT licensed and open source

Improvements in v2.2

~ Added multi prompt support
~ Optimized for servers
~ Fixed Bug on long paragraph extractions
~ Better address extraction
~ Better phone number normalization
~ Reduced duplicate entity detection
~ More robust masking pipeline

Example

from hbp100 import mask, restore

text = "My email is john@example.com"

masked = mask(text)
# My email is [EMAIL_1]

response = llm(masked)

final = restore(response)
# My email is john@example.com

Applications

~ Healthcare
~ Insurance documents
~ OCR pipelines
~ AI assistants
~ Customer support systems
~ Privacy-preserving LLM workflows