Instructions to use limbo23/holdback-student with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use limbo23/holdback-student with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="limbo23/holdback-student")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("limbo23/holdback-student") model = AutoModelForTokenClassification.from_pretrained("limbo23/holdback-student", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Which parts of a developer log should a privacy filter keep?
A coding agent reading a support ticket might need the port number to fix a connection error. The email
address next to it can stay on the user's machine. In holdback, a 28M-parameter model marks candidate
spans, then rules decide which text the agent still needs. Try both steps locally on macOS or Linux.
The first run downloads the model and needs no API key.
curl -fsSL https://raw.githubusercontent.com/Daveyuwang/holdback/v0.2.3/install.sh | HOLDBACK_VERSION=v0.2.3 sh
printf '%s\n' '{"texts":["Email dev@example.com about port 5432."]}' | ~/.local/bin/holdback spans /dev/stdin
For this input, both detected and refined contain just [6,21,"private_email"]. That span covers the
email address. The port is still available to the agent. Try the Rust lineconst TEST_SEED: u128 = 19999999999999999999999999999999999991;. The detector marks the last 22
digits as an account number. The rules extend that span to all 38 digits. A coding agent working on the
test would need the seed intact. Model card
Which ordinary tool output have you seen a detector get wrong? A short invented example, the span it picked,
and the text you wanted it to keep would help us choose the next test case. You can also file a made-up example
with its refined array. Report a wrong replacement or a missed value
If holdback detected a value and still sent it upstream, please report it privately. Private reporting