Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quick Start (Docker)

See Zingg Community resolve duplicate records in under 5 minutes no setup, no configuration, no data preparation needed.

The fastest way to understand what Zingg does is to see it work. This page uses Docker and a pre-trained model bundled with Zingg to run entity resolution on a sample dataset in three commands. There is no installation, no configuration, and no labeling required.

You will see Zingg take records that look different variations in name, address, and date of birth, and resolve them into clusters representing the same real-world person. That is entity resolution.

Run Zingg in 3 commands

Step 1: Pull the Zingg Docker image

docker pull zingg/zingg

Step 2: Start the container

docker run -it zingg/zingg bash

If you see a permission error, use:

docker run -v /tmp:/tmp -it zingg/zingg bash

Step 3: Run match using the bundled FEBRL sample data and pre-trained model

./scripts/zingg.sh --phase match --conf examples/febrl/config.json

What just happened

Reading the output at /tmp/zinggOutput

The output contains all your input fields plus three columns added by Zingg:

  • Z_CLUSTER - a unique identifier shared by all records Zingg resolved as the same entity. Records with the same Z_CLUSTER value represent the same real-world person in the FEBRL dataset.

  • Z_MINSCORE - the lowest similarity score between any two records in that cluster. Indicates how confidently the weakest link in the cluster was matched.

  • Z_MAXSCORE - the highest similarity score between any two records in that cluster. Indicates the strongest match within the cluster.

What is the FEBRL dataset?

FEBRL (Freely Extensible Biomedical Record Linkage) is a synthetic dataset generator that produces realistic person records with deliberate variations. The records contain fields for first name, last name, street number, address lines, city, state, date of birth, and a national identifier.

The variations are intentional - the same person appears multiple times with different spellings, missing fields, and formatting differences across records. This makes FEBRL ideal for demonstrating entity resolution because the correct answer is known: Zingg's output can be verified against the ground truth built into the dataset.

Zingg ships with a pre-trained model for FEBRL under the models folder in the release. This is why Experience Zingg requires no training step - the model is already built.

What happens after this?

Congratulations! You just experience Zingg using a pre-trained model on a sample dataset. In a real implementation, you would:

  1. Connect your own data using Zingg pipes.

  2. Define the fields you want to match on and choose a match type for each.

  3. Run findTrainingData to generate candidate pairs from your data.

  4. Label those pairs as "Match" or "No Match" to teach Zingg what a match looks like in your domain.

  5. Train the model on your labeled pairs.

  6. Run match or link on your full dataset.

The Quick Start page walks you through this full workflow on your own platform using sample data provided by the Zingg team.

As long as your input columns and field types are not changing, the same model works - you do not need to retrain. If you change a match type, you can add more labeled pairs on top of existing training data.

Prerequisites

  • Docker installed on your machine

  • At least 4 GB of free RAM

  • Permission to bind-mount local directories (for output and model persistence)

Step 1: Pull the Zingg Docker image and start a container

Pull the Zingg Docker image:

Start a bash session inside the container:

If you see a permission error, use the volume mount form:

The Zingg Python package is already installed inside the Docker container. Zingg Python programs run via the zingg.sh script provided with the Zingg release.

Step 2: Use the bundled sample data

The Docker image ships with the FEBRL sample dataset and a sample config file:

  • Sample data: examples/febrl/test.csv

  • Sample config: examples/febrl/config.json (Community) or examples/febrl/configSnow.json (Snowflake variant)

If you want to use your own data instead, copy it into the running container from your local machine:

Step 3: Set up the configuration

Create or edit your configuration. The config defines your field definitions, input and output paths, model ID, and partition settings. Both editions use the same JSON structure — only the Python class differs between editions.

Python - Community

Python - Enterprise

JSON - Community

JSON - Enterprise

outputStats is Enterprise-only. The $ZINGG_DYNAMIC_STAT_NAME placeholder is replaced at runtime with SUMMARY, CLUSTER, or RECORD for the three different stats files Zingg produces.

For full configuration schema with all parameters → Configuration Schema

Step 4: Find candidate pairs

Zingg scans your dataset using the field rules defined in Step 3 and selects the most informative pairs for labeling - edge cases where the model has the most to learn. Candidate pairs are written to zinggDir/modelId.

Python - Community

Python - Enterprise

CLI (both editions)

Step 5: Label pairs

Zingg shows you the pairs selected by findTrainingData. For each pair, decide:

  • 1 - Match: these records represent the same real-world entity

  • 0 - Not a match: these records are different entities

  • 2 - Not sure: when you cannot decide

Python - Community

Python - Enterprise

CLI (both editions)

The --showConcise=true flag shows only fields used for matching and hides DONT_USE fields.

Step 6: Train the model

Once you have enough labelled pairs, run the train phase. Zingg builds blocking and similarity models from your labelled training data and persists them to zinggDir/modelId. These models can be reused on newer datasets without retraining.

Python - Community

Python - Enterprise

CLI (both editions)

Step 7: Run match and resolve identities

Run the match phase. Zingg applies the trained models to your full dataset and writes matched records to the output location configured in Step 3.

Python - Community

Python - Enterprise

CLI (both editions)

Reading the match output

Zingg adds output columns to your input. Community produces Z_CLUSTER, Z_MINSCORE, and Z_MAXSCORE. Enterprise produces ZINGG_ID (a persistent GUID), Z_MINSCORE, and Z_MAXSCORE.

For threshold guidance and full output column definitions → Interpret Output Scores

Last updated

Was this helpful?