Forge

Repository

What Forge does, and what it does not claim.

A training data pipeline should make it easy to inspect where examples came from, what crossed each quality gate, and how an evaluation was constructed.

The problem

A typical synthetic data demo ends after generation. It may show plausible examples, but it does not answer whether the same source leaked across train and test, whether evaluation material appeared in training, or whether a reported improvement survives basic uncertainty analysis.

Forge treats those questions as pipeline requirements. It creates training examples, but the repository is organised around traceability, usage rights, privacy decisions, duplicate controls, and failure conditions rather than a single attractive metric.

The workflow

1. Identify the source

Each document and chunk receives a deterministic content-derived identifier before examples are generated.

2. Establish permitted use

Candidate builds require a source policy. Unknown rights or disallowed training use prevent release.

3. Generate and curate

Schema, structured privacy, exact, fuzzy, semantic, rubric, and difficulty controls add inspectable decisions.

4. Check the benchmark boundary

Lexical, fuzzy, and candidate semantic controls compare generated records with independent benchmark text.

5. Split whole sources

Examples from one source document stay together. The algorithm records the achieved whole-source fraction.

6. Profile and release

Configuration, audit decisions, quarantine files, profile slices, hashes, overlap checks, and gates stay with the release.

How to read the evidence

ArtifactWhat it supportsWhat it does not support
Smoke runThe pipeline can execute without paid APIsModel quality or production readiness
Split manifestNo shared source or chunk identifiersSemantic independence between related documents
Source governanceDeclared license and permitted use are presentIndependent legal verification of ownership
Structured privacy scanConfigured patterns and checksums were appliedDetection of every personal or contextual identifier
MinHash and JaccardMeasured exact and near-duplicate control behaviourSemantic equivalence between all records
Embedding screenSimilarity under one recorded model and thresholdInfallible paraphrase or contamination detection
Model judgeA repeatable rubric-based signalA replacement for human assessment
Controlled evaluation fixtureBlind packets, agreement analysis, and bias gates executeGenuine human preference or model improvement
Paired statisticsUncertainty on one evaluation setGeneral capability or causal proof

Why the historical result is not the headline

The earlier experiment generated references through the same broad process used to create training examples, and the generator and judge were not sufficiently independent. A source-safe split improves the design, but it does not turn an internally generated reference set into an external benchmark. The numbers remain useful for regression analysis, not for claiming general improvement.

Next boundary: the next credible model result must use an independently authored evaluation set, genuine reviews under the frozen protocol, and either multiple training seeds or an equivalent uncertainty analysis. The tooling is ready, but those labels have not been collected.

Who this is for

Forge is useful for engineers exploring source-grounded task generation, evaluation integrity, reproducible ML workflows, and local fine-tuning. It is also a compact reference for discussing leakage, contamination, judge bias, provenance, and uncertainty in an interview.


Continue to the evaluation design, the technical implementation, or inspect the repository and tests.