Practical overview
When it fits
Use it when a text document needs sensitive entities detected and replaced, or when a rewrite workflow is preferable and context should be retained. Its tutorial examples include biographies and legal documents.
Who it is for
- People preparing text containing personal information for sharing or further processing.
- Practitioners who need to inspect detections and choose how entities are replaced or text is rewritten.
- Developers setting up the documented Python and Jupyter tutorials.
Documented uses
- Detect and inspect personal information and its entity labels in text.
- Choose among redaction, annotation, hashing, substitution or custom replacement templates.
- Rewrite text toward privacy goals while retaining context.
- Evaluate anonymization approaches and triage review flags in the documented rewrite tutorials.
Requirements & limits
- The tutorials distinguish replace mode from rewrite mode; the choice affects whether entities are substituted or the surrounding text is rewritten.
- Replace-mode options include redact, annotate, hash and substitute, with custom templates also covered.
- The documented tutorial setup uses Python, Jupyter and an OpenRouter API key.
- Legal-document tutorials address non-default entity labels and stricter protection goals.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the NeMo Anonymizer tutorials in a Python environment
Prepare the documented Jupyter tutorial environment; the steps do not cover completing an anonymization run.
Before you start
- Python and a shell
- The anonymizer_tutorial.zip tutorial archive from the Anonymizer release assets
- An OpenRouter API key
- Either uv or Python's venv with pip
Steps
Download and extract anonymizer_tutorial.zip, then change into the extracted anonymizer_tutorial directory.
Create and activate a virtual environment using uv or python -m venv.
Install nemo-anonymizer, jupyter and ipykernel using uv pip or pip.
Set OPENROUTER_API_KEY in the same shell, then launch Jupyter with jupyter notebook, or uv run jupyter notebook when using uv.
Expected outcome
A Jupyter environment is launched for following the anonymization tutorials.
Guide limitations
- The instructions describe environment setup, not a completed anonymization run.
- If the API key is missing in a notebook, the documentation advises launching Jupyter from the shell where it was set, checking the selected kernel and restarting the kernel after changing environment variables.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026

