Umbrella management checkout for ONNX model packages built on
github.com/mackross/gonnx.
This repository is for maintainers. Each model lives in its own repository under
the gonnx-models GitHub organization and is included here as a git submodule.
Users should import individual model packages directly.
import "github.com/gonnx-models/silero"
import "github.com/gonnx-models/smartturn"
import "github.com/gonnx-models/bertuncased"Examples:
vad, err := silero.Open(gonnx.WithThreads(1))detector, err := smartturn.Open(gonnx.WithThreads(1))recognizer, err := bertuncased.Open(gonnx.WithThreads(1))| Repo | Task |
|---|---|
nerutils |
Shared implementation helpers for NER model packages. Not normally imported by end users. |
silero |
Silero voice activity detection for 16 kHz PCM. |
smartturn |
Smart Turn voice turn-completion detection. |
neurobert |
Tiny English NER. |
distilbertcased |
Cased English DistilBERT NER. |
distilbertuncased |
Uncased English DistilBERT NER. |
bertcased |
Cased English BERT-base NER. |
bertuncased |
Uncased English BERT-base NER. |
multidistilbert |
Multilingual DistilBERT NER. |
See NER_BENCHMARK.md for relative NER throughput notes.
Model packages do not use Git LFS. Large ONNX files are committed as ordinary
Git chunk files under the GitHub per-file limit. gonnx.ModelBundle.ModelParts
reconstructs those chunks into the local gonnx cache before opening an ONNX
Runtime session. This keeps model packages usable with normal go get.
git clone --recurse-submodules git@github.com:gonnx-models/models.gitIf you already cloned without submodules:
git submodule update --init --recursiveThe workspace includes all model modules plus local checkouts of gonnx and its
vendored onnxruntime-purego sibling, so this command is intended for the local
../ml development layout:
go test ./nerutils ./silero ./smartturn ./bertcased ./bertuncased ./distilbertcased ./distilbertuncased ./multidistilbert ./neurobertTo test a standalone model module from a fresh checkout, run inside that model's repository:
go test ./...