← TinyGPT · docs · devlog · roadmap · speedup
source: docs/sessions/2026-06-06-specialist-embedder-blocker.md · view on GitHub ↗

Specialist Embedder PRD Blocker

Date: 2026-06-06

PRD: docs/prds/specialist-embedder.md

Status: blocked for this pass.

Why This Is Blocked

The PRD is a real Tier 2 modality, not a small CLI/documentation follow-up. Shipping it honestly requires:

Those steps involve long model downloads, package installs, and sustained training/benchmark loops. The repo’s macOS safety rules require explicit user approval before running that class of workload.

What Not To Do

Do not add fake tinygpt embed or tinygpt embed-train commands that produce hash vectors or placeholders. That would make downstream RAG examples look shipped while the model and eval path do not exist.

Do not download BGE-M3 or run embedding training without approval.

Smallest Honest Next Slice

  1. Add EmbedderModel.swift with an encoder-only forward and mean-pooling shape tests, using synthetic token IDs only.
  2. Add embed-train --dry-run that validates corpus schema and prints the planned teacher/student/matryoshka config without downloading weights.
  3. Add embed --dry-run that validates model metadata once .tinygpt-embed exists.
  4. Only after that, request approval for the BGE-M3 download and the first 1,000-row training smoke.

Acceptance Deferred

The PRD acceptance criteria remain deferred:

This PRD should stay blocked until the owner approves the heavy training and dependency work.