Skip to content

Releases

gpu-postal: US-only int5, partial and shuffled addresses

Choose a tag to compare

@f0rr0 f0rr0 released this 17 Sep 18:26

US-only int5 release

The new gpu-postal candidate is trained from scratch on 3,077,917 US addresses
with partial and reordered presentations. Epoch 20 was selected by development
results; training stopped after 26 epochs. The seven-field API is unchanged.

npm install gpu-postal@experimental
  • Model + browser runtime: 58.7 kB (Brotli). Model alone: 53.4 kB (Brotli).
  • Warm parse median/p95: 5.2/8.9 ms, Chrome 153 on M1 Pro.
  • Real WebGPU/Python parity: 931 qualification inputs and all 842 NAD inputs.
  • The website now compares usaddress, libpostal, Senzing and Deepparse on frozen
    US NAD inputs, plus separate partial/shuffled diagnostics against usaddress.
Same-input comparison gpu-postal int5 usaddress 0.5.16
US NAD full addresses 828/842 831/842
Shuffled institutional addresses 368/460 24/460
Partial 163/200 156/200
Partial + shuffled 157/200 8/200
Building prefixes 2/16 15/16
Model-only size 53.4 kB (Brotli) 50.2 kB (Brotli)

Both model sizes use Brotli quality 11 and exclude runtimes. usaddress requires
Python, CRFsuite and feature extraction. Institutional variants share 20 source
addresses and preserve seven fields; NAD uses a coarser field projection.
These are author-run, previously inspected diagnostics, not population accuracy
or fully competitor-unseen tests. The release highlights order flexibility while
retaining the visible building/floor/PO-box limitations. No claim of uniform
superiority over usaddress is made.

Demo and comparisons ·
Model card ·
Evidence and inputs

Previous seven-country weights remain at 0.1.0-experimental.2. Original code is
MIT; preserve THIRD_PARTY_NOTICES.md with the model. The current US-only run does
not include the earlier release's direct Australian G-NAF training rows.

Model SHA-256: 06a212f708a52c32e099c15e384e3bd149885c01d06c4b00343cc3b7ad894b60.

feat: gpu-postal int5 experimental release

Choose a tag to compare

@f0rr0 f0rr0 released this 16 Sep 19:38

Int5 model: 74.4 kB (Brotli) for JavaScript and weights, 44% smaller than the previous runtime and model. Hardware WebGPU verification: exact Python/browser agreement on 13,115 inputs, 877/1,000 GeoSearch matches, 13/14 workflow examples, 2.9 ms warm median and 4.5 ms p95 on M1 Pro / Chromium 152. Includes GPU failure handling, a condensed README, and a flat Python training package with colocated tests. Original code is MIT; model source notices and conditions are preserved. Published and verified on npm. Install with npm install gpu-postal@experimental.

feat: gpu-postal experimental WebGPU parser

Choose a tag to compare

@f0rr0 f0rr0 released this 16 Sep 19:00

gpu-postal 0.1.0-experimental.1

A tiny postal-address parser that runs locally in the browser with WebGPU.
154,446 parameters; 154,562 bytes of included weights; no runtime dependencies,
Wasm, inference server or API key.

This is an experimental field-suggestion tool, not address validation or a
libpostal replacement. Review predictions before use.

Try it

The release archive gpu-postal-0.1.0-experimental.1.tgz contains the browser
package, exact weights, model card and license notices. Install it directly:

npm install https://github.com/f0rr0/gpu-postal/releases/download/v0.1.0-experimental.1/gpu-postal-0.1.0-experimental.1.tgz
import { createParser } from 'gpu-postal';
const parser = await createParser();
const result = await parser.parse('123 Main Street, Boston MA 02110');
console.log(result.components);
await parser.dispose();

WebGPU and HTTPS/localhost required; retain the adjacent model asset when bundling,
or pass an explicit model URL. Clone the repository and run its examples/basic.html
for a minimal working browser example. No polished hosted demo or video is part of
this release.

What we measured

  • Actual-browser int8 GeoSearch exactness: 879/1,000. Four fields present:
    720/770; incomplete: 159/230. Synthetic US diagnostic, not natural traffic.
  • The same sample scored 879 with our float32 model, 877 with Senzing and 752 with
    Deepparse. This does not establish general superiority.
  • Warm median/p95 2.2/3.2 ms over 1,000 sequential inputs on M1 Pro 16 GB,
    Chromium 152, real Apple Metal hardware adapter. Not a universal speed claim.
  • Runtime JavaScript + weights: 174,699 uncompressed bytes, excluding HTML,
    documentation and HTTP overhead. Model-only size is not total download size.
  • Seven freshly collected public addresses plus seven mechanical messy variants:
    13/14 matched AI annotations; the failed UK variant put “south” in the street
    instead of “South Kensington”. No human time-saving claim.

Training covers US, UK, AU, NZ, CA, IE and English-language ZA, but accuracy is
uneven: public AU/NZ/ZA diagnostics remain weak, and Canadian evaluation is small.
The model card includes these results, same-source scores and known limitations.

Artifacts and terms

The model was trained from scratch for 12 full epochs on 3,790,046 rows and chosen
by country-macro validation. Training stopped at its epoch budget, not demonstrated
convergence. No further training is scheduled for this release.

Weights, original checkpoint, model card, browser evidence, source-data manifest
and SHA-256 checksums are attached. epoch-12.pt is a PyTorch checkpoint; only load
checkpoints from sources you trust. Raw training/evaluation corpora are not included.

Original code/documentation: MIT. Model source conditions remain preserved in
THIRD_PARTY_NOTICES.md, including G-NAF attribution and mailing-use conditions.
This is not an unrestricted MIT-only bundle.

Please report public or redacted parsing examples with expected fields and output.
Do not submit private addresses. Thanks to the libpostal, Senzing, Deepparse,
OpenStreetMap, OpenAddresses and G-NAF communities, and GPU Lexer / GPU Time for
inspiration.