Repository navigation
Audit original structural compression on 1.85M trained n-gram rows - #42
Merged
Merged
Conversation
…n mixed source provenance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Large n-gram tables can share training updates while their frozen vectors remain different. Add a CPU workflow that audits actual keyed rows, then measures the original DATrie/mark-compact contribution against raw, native identity, lexical layout and exact encoded-dedup controls at the same encoding.
On the unchanged 1,855,907 × 256 finite SGNS table, conditional identical-word-support updates are almost collinear, but final-vector cosine is only 0.21–0.35. Complete FP32/FP16 structural savings are 0.12–0.63%; INT8 remains larger than raw INT8, and broad native query misses remain slower. Quantization/joint sharing are explicitly lossy; all encoded representative bytes and original IDs are independently verified. This is storage/vector evidence, not LLM task-quality or convergence evidence.
e5950af755238c7e0706089d1112e4cd3d699afb: 18/18 passed before merge. Fabricated correctness fixtures remain separate from measured data.