Skip to content

fix: embedding dimensions mismatch in docs (768d vs 256d) #183

Closed

Description

@ajianaz

Problem

The codebase has conflicting information about embedding dimensions:

  • crates/uteke-core/src/embed/engine.rs line 14: const MODEL_DIMS: usize = 768;
  • Various docs/skills reference 256d vectors
  • README mentions "~188MB" binary/model size

The actual model is embeddinggemma-300m-ONNX (Q4 quantized), which outputs 768-dimensional embeddings. The 256d claim appears to be incorrect.

Impact

  • Users evaluating uteke may have wrong expectations about index size and memory usage
  • Competitive comparison table may have wrong specs
  • Performance benchmarks may be misattributed

Proposed Fix

  1. Audit all references to "256d" or "256 dimensions" across docs, README, website, skill files
  2. Update to "768d (EmbeddingGemma 300M Q4)" where accurate
  3. Clarify binary size: model files = ~188MB, index size scales with 768d vectors
  4. Update website comparison table if dimensions are listed

Target

  • v0.0.9 (docs fix, no code change needed)

Activity

  1. added
    scope:core
    scope:docs
    on Jun 7, 2026
  2. ajianaz commented on Jun 7, 2026

    @ajianaz
    CollaboratorAuthor

    Fixed in v0.0.10 — all docs now correctly state 768d. See CHANGELOG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:corescope:docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions