Repository navigation
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. Modelslists 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
OrientationorGeneralDelivery.
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_URLis set, includingmodel2vec-8m. - Optional
HF_TOKENis passed through to the container for Hugging Face downloads.
Deepparse 1.0.0 lists this client in the upstream API docs.