Discover and explore top open-source AI tools and projects—updated daily.
localai-orgMinimal C++/GGML runtime for PII/NER entity detection
New!
Top 93.6% on SourcePulse
Summary
Addresses efficient PII/NER entity span detection using a minimal C++/GGML runtime. Targets developers needing high-performance, low-memory footprint solutions for sensitive data identification. Offers significant speedups and memory savings over standard Transformer models.
How It Works
Implements OpenAI's privacy filter NER architecture within a custom C++ GGML runtime. Employs a banded/near-linear attention mechanism, contrasting with the quadratic complexity of standard Transformers. This design enables sustained throughput on long documents and drastically reduces memory requirements. Supports multiple model variants (openai-privacy-filter, privacy-filter-multilingual, privacy-filter-nemotron) and offers pre-converted GGUF files.
Quick Start & Requirements
git clone --recursive <repo>), then build using CMake presets: cmake --preset release && cmake --build --preset release -j. Runtime execution via ./build/release/pf-cli.glslc) or CUDA (toolkit). Model conversion scripts require Python 3.x and pip install -r scripts/requirements.txt (torch, safetensors, gguf).Highlighted Details
Maintenance & Community
Continuous integration (CI) is present for model conversion parity checks. No explicit community channels (Discord/Slack) or core contributor information is detailed in the provided text.
Licensing & Compatibility
The specific open-source license is not mentioned in the provided README excerpt. Compatibility for commercial use or closed-source linking is therefore undetermined.
Limitations & Caveats
The project focuses exclusively on PII/NER classification, not generative tasks. GPU backend setup requires specific system configurations (Vulkan or CUDA). The license status requires clarification for adoption decisions.
1 week ago
Inactive
MDK8888
facebookresearch
thu-ml
Dao-AILab