Skip to content

v0.3.0

Latest

Choose a tag to compare

@adamdecaf adamdecaf released this 02 Nov 17:09
· 2 commits to master since this release

Go client for GRAAL-Research/deepparse 1.0.0+.

This release tracks the 1.0.0 REST API. The parse response shape is unchanged from 0.11.0 (parsed_addresses is a list of {raw: parsed} objects). New Model2Vec models are available as /parse/{model} path segments.

go get github.com/adamdecaf/deepparse-go@v0.3.0

Run the parser with ghcr.io/graal-research/deepparse:1.0.0 (see docker compose up in the repo). The published image is linux/amd64.

Client

  • New models: model2vec-8m, model2vec-8m-attention, model2vec-32m, model2vec-32m-attention, model2vec-multilingual, model2vec-multilingual-attention.
  • Models lists every path segment accepted by deepparse 1.0.0.
  • The published Docker image loads the BPEmb and Model2Vec models; FastText models are still skipped at startup.
  • Model2Vec models do not predict Orientation or GeneralDelivery.

Existing FastText and BPEmb paths keep working on 0.11.0 servers. Model2Vec requires deepparse 1.0.0.

Tests and CI

  • Unit tests cover the new model paths (go test -short).
  • Integration tests hit the published 1.0.0 image when DEEPPARSE_URL is set, including model2vec-8m.
  • Optional HF_TOKEN is passed through to the container for Hugging Face downloads.

Deepparse 1.0.0 lists this client in the upstream API docs.