Skip to content

Reposition as NGramStore with compatible engine APIs and working quickstarts - #37

Merged
initial-d merged 1 commit into
mainfrom
codex/ngramstore-brand
Oct 30, 2026
Merged

initial-d merged 1 commit into
mainfrom
codex/ngramstore-brand

Conversation

@initial-d

Copy link
Copy Markdown
Owner

The repository's primary identity is now NGramStore: a compression, storage and exact-query engine for learned n-gram vectors. FastText and Engram/TinyEngram are application examples of the shared backend. The README now gives one engine entry, application routes and measured limits, while historical FastText usage moves to a compatibility guide.

Add the ngram_store import and ngram-store command without removing meft_memory, the meft-memory distribution, existing meft-* commands, C ABI symbols or file-format identifiers. The new dispatcher packs/inspects/queries native stores, verifies every row before publication, supports registered-key structural planning, and routes to existing FastText/TinyEngram converters. Numeric IDs, multiplicity and source bits remain intact; joint sharing remains explicitly approximate.

The old plain-text training quickstart did not match the custom FastText reader. A preparation command now emits within-line positional/source pairs, with a tiny included text sample and an actual Linux prepare/train/export/query regression. This is integration correctness, not a trained compression benchmark. Canonical repository URLs and software metadata target initial-d/ngram-store; the original paper title/preferred citation and dated raw evidence remain intact. The authorized GitHub repository rename follows this PR's checks and merge.

Validation: portable engine tests preserve signed-zero/NaN payloads and original IDs; registered-key tests exercise actual DATrie compaction; installed wheels verify new and historical imports plus the new CLI outside the checkout without Torch; Torch opens the same packed artifact; the existing FastText/Engram/Qwen and sanitizer checks remain in CI. Local targeted tests and isolated macOS wheel checks pass. No GPU workload is used.

@initial-d
initial-d merged commit c47c571 into main Oct 30, 2026
18 checks passed
@initial-d
initial-d deleted the codex/ngramstore-brand branch October 30, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant