Mindket

AstrLink Guard

Newversion 1 · updated

Overview

Finds personal information and credentials in Chinese, English and mixed text, code, logs and AI coding assistant requests, locally in ONNX. For developers who mask sensitive data before it leaves a machine.

AstrLink Guard is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip.
  • ONNX Runtime, for the CPU or your GPU.
  • A tokenizer that matches the model, an XLM-R SentencePiece one.
  • Your choice of folder: int8, fp32 or fp16.
Runs in
  • ONNX Runtime on a CPU, with the INT8 folder.
  • A GPU runtime, with the FP16 folder.
  • AstrLink, the app that uses this model for privacy detection.
  • Windows, macOS or Linux: the download steps run on all three with Python.
Start with
pip install -U huggingface_hub
hf download QuantumNous/astrlink-guard

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

AstrLink Guard is a compact model that picks out private details and secrets from text in Chinese, English or both. It also reads source code, configuration files, logs and the requests that AI coding assistants send to language models. It runs locally in ONNX Runtime on a CPU, and the FP16 build suits a GPU. For each hit it gives the span, a label and a score, and your own code decides what to hide.

Who it suits

Developers who want to hide secrets and private details before text reaches a language model or a log, and who prefer a local check.

IndustryWho uses itHow they use itExample
SoftwareTool buildersScan coding assistant requests for secretsFind an AWS access key inside a prompt
PrivacyData protection engineersMask personal details in logs and documentsRedact names, accounts and ID numbers
Enterprise ITPlatform teamsAdd a local filter in front of a model gatewayBlock credentials from leaving the company

Anyone who needs a detector for languages other than Chinese and English can skip it.

Where to use it

  • ONNX Runtime on a CPU, with the INT8 folder.
  • A GPU runtime, with the FP16 folder.
  • AstrLink, the app that uses this model for privacy detection.
  • Windows, macOS or Linux: the download steps run on all three with Python.
Use caseWhoWhat they get back
Secret scanningDevelopersSpans labeled as credentials, with scores
Privacy maskingPrivacy engineersSpans for personal data, ready to redact
Request filteringPlatform teamsA per-request list of sensitive spans

How to set it up

What you need first:

  • Python with pip.
  • ONNX Runtime, for the CPU or your GPU.
  • A tokenizer that matches the model, an XLM-R SentencePiece one.
  • Your choice of folder: int8, fp32 or fp16.
  1. Install the Hugging Face hub package with pip.
  2. Download the repository with the hf command.
  3. Pick a format folder and load its ONNX file in ONNX Runtime.
  4. Feed it tokenized text and read back the labeled spans.
pip install -U huggingface_hub
hf download QuantumNous/astrlink-guard

How to use it

Send text in windows of up to 512 tokens, with a 128-token overlap for longer inputs. The model returns spans with labels and scores, and you apply the recommended minimum span score from the full card before you mask anything. To keep the older date behavior, pin the repository to revision v0.1.1.

Formats in the repository
ToolWhat it does
int8 folderDynamic INT8 build, recommended on CPU, 36 MiB
fp32 folderFP32 reference build with higher accuracy, 141 MiB
fp16 folderFP16 build for GPU runtimes, which takes exactly 512 tokens per input

Example

You pass in an AI coding assistant request that contains an AWS access key and a person's birth date. The model returns a span for the key and one for the date, each with a label and a score. Your code then masks both.

For newcomers and experts

Think of it as a highlighter for private details. It marks the parts of a text that look like secrets or personal data, and you choose what to hide. A good first step is to try the INT8 build on a short sample.

The model is a BertForTokenClassification with 12 layers and hidden size 384, about 36.9M parameters, based on Multilingual-MiniLM. Version 0.1.2 changed the date label to cover only dates about a specific person, which cut false alarms but lowered recall on personal dates.

  1. Split long text into 512-token windows
  2. Run the ONNX model on each window
  3. Collect spans with labels and scores
  4. Mask the spans your app cares about

Good to know

In version 0.1.2 the date label stopped firing on non-personal dates. This chart uses 7,743 such dates in coding assistant requests.

Non-personal dates flagged, INT8, out of 7,743
Version 0.1.17435 dates
Version 0.1.221 dates
  • Accuracy: general text F1 is 97.46 with INT8, 97.35 with FP32, and FP16 lands within 0.03 F1 of FP32.
  • Trade-off: version 0.1.2 finds 81.5 percent of personal dates with INT8, down from 98.6 percent.
  • Labels: 10 labels in all, including private_date, common_secret and account.
  • License: apache-2.0
  • Cost to run: no API key, account or paid service named.
  • Data it reaches: files you download from Hugging Face, and the text you pass in, which stays on your machine.
  • Not for: languages other than Chinese and English, or setups that must mask every date.

README and files

README

AstrLink Guard

Finds personal information and credentials in Chinese, English and mixed text, code, logs and AI coding assistant requests, locally in ONNX. For developers who mask sensitive data before it leaves a machine.

Made by QuantumNous on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: AstrLink Guard is a compact model that picks out private details and secrets from text in Chinese, English or both. It also reads source code, configuration files, logs and the requests that AI coding assistants send to language models. It runs locally in ONNX Runtime on a CPU, and the FP16 build suits a GPU. For each hit it gives the span, a label and a score, and your own code decides what to hide.

Who it suits: Developers who want to hide secrets and private details before text reaches a language model or a log, and who prefer a local check.

Industry | Who uses it | How they use it | Example
Software | Tool builders | Scan coding assistant requests for secrets | Find an AWS access key inside a prompt
Privacy | Data protection engineers | Mask personal details in logs and documents | Redact names, accounts and ID numbers
Enterprise IT | Platform teams | Add a local filter in front of a model gateway | Block credentials from leaving the company

Anyone who needs a detector for languages other than Chinese and English can skip it.

Where to use it:

  • ONNX Runtime on a CPU, with the INT8 folder.
  • A GPU runtime, with the FP16 folder.
  • AstrLink, the app that uses this model for privacy detection.
  • Windows, macOS or Linux: the download steps run on all three with Python.
Use case | Who | What they get back
Secret scanning | Developers | Spans labeled as credentials, with scores
Privacy masking | Privacy engineers | Spans for personal data, ready to redact
Request filtering | Platform teams | A per-request list of sensitive spans

How to set it up: What you need first:

  • Python with pip.
  • ONNX Runtime, for the CPU or your GPU.
  • A tokenizer that matches the model, an XLM-R SentencePiece one.
  • Your choice of folder: int8, fp32 or fp16.
  1. Install the Hugging Face hub package with pip.
  2. Download the repository with the hf command.
  3. Pick a format folder and load its ONNX file in ONNX Runtime.
  4. Feed it tokenized text and read back the labeled spans.
pip install -U huggingface_hub
hf download QuantumNous/astrlink-guard

How to use it: Send text in windows of up to 512 tokens, with a 128-token overlap for longer inputs. The model returns spans with labels and scores, and you apply the recommended minimum span score from the full card before you mask anything. To keep the older date behavior, pin the repository to revision v0.1.1.

Title: Formats in the repository
Tool | What it does
int8 folder | Dynamic INT8 build, recommended on CPU, 36 MiB
fp32 folder | FP32 reference build with higher accuracy, 141 MiB
fp16 folder | FP16 build for GPU runtimes, which takes exactly 512 tokens per input

Example: You pass in an AI coding assistant request that contains an AWS access key and a person's birth date. The model returns a span for the key and one for the date, each with a label and a score. Your code then masks both.

For newcomers and experts: Think of it as a highlighter for private details. It marks the parts of a text that look like secrets or personal data, and you choose what to hide. A good first step is to try the INT8 build on a short sample.

The model is a BertForTokenClassification with 12 layers and hidden size 384, about 36.9M parameters, based on Multilingual-MiniLM. Version 0.1.2 changed the date label to cover only dates about a specific person, which cut false alarms but lowered recall on personal dates.

Split long text into 512-token windows
Run the ONNX model on each window
Collect spans with labels and scores
Mask the spans your app cares about

Good to know: In version 0.1.2 the date label stopped firing on non-personal dates. This chart uses 7,743 such dates in coding assistant requests.

Title: Non-personal dates flagged, INT8, out of 7,743
Version 0.1.1: 7435 dates
Version 0.1.2: 21 dates
  • Accuracy: general text F1 is 97.46 with INT8, 97.35 with FP32, and FP16 lands within 0.03 F1 of FP32.
  • Trade-off: version 0.1.2 finds 81.5 percent of personal dates with INT8, down from 98.6 percent.
  • Labels: 10 labels in all, including private_date, common_secret and account.
  • License: apache-2.0
  • Cost to run: no API key, account or paid service named.
  • Data it reaches: files you download from Hugging Face, and the text you pass in, which stays on your machine.
  • Not for: languages other than Chinese and English, or setups that must mask every date.

On Hugging Face, 13 November 2026

  • Task: token classification
  • Library: onnx
  • Downloads in the last 30 days: 408
  • Likes: 29
  • License: apache-2.0
  • Languages: zh, en
  • Based on: microsoft/Multilingual-MiniLM-L12-H384
  • Tags: onnx, bert, privacy, secret-detection, token-classification

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download QuantumNous/astrlink-guard

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
AstrLink Guard This page40829—apache-2.0
cbx-indic-pii-extractor-58MShares privacy · token-classification · onnx96457.6Mapache-2.0
cbx-indic-pii-extractor-17MShares privacy · token-classification · onnx76316.7Mapache-2.0
bert-base-NERShares token-classification · bert · onnx1,038,928750108Mmit
OpenAI Privacy FilterShares token-classification · onnx102,9111,8311.4Bapache-2.0
UltraBERT-150M-clairic-extractionShares token-classification · onnx1385151Mapache-2.0
Numbers as Mindket last read them, on 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Bonsai-27B-GGUF

lmstudio-community · Kit

A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

New

Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…

New

MusicGen Small

facebook · Kit

Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…

New

Similar in Developer

See all in Developer

Lexnet

alpindale · Kit

Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…

New

FLUX.2 Klein LoRA Studio

prithivMLmods · Kit

Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…

New

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New