feat: multi-token character prompts for the text prefix #45

Merged
dsh merged 1 commit from feat/multi-token-prompts into master 2026-12-01 21:56:18 +00:00
Member

Real multi-token prompts with a minimal character-level tokenizer.

  • text_prompts config: per-label token-id rows, fixed length, 0 = null/pad
  • characters a…z (vocab 27), prompts zero … nine, max_len 5
  • text-position table is now active; image row-rope and time rotor stay image-only
  • trainer maps dataset labels through the prompt table
  • sampler broadcasts a single [L] prompt over the batch
  • trainer sample grid uses the prompt table

MNIST 4L RAT-32, 10k, 5 tokens: val 0.0414, 87.8% unguided, 100% at guidance 5. One-token reference: 0.0404, 76.1%, 100%.

Real multi-token prompts with a minimal character-level tokenizer. - `text_prompts` config: per-label token-id rows, fixed length, 0 = null/pad - characters `a…z` (vocab 27), prompts `zero … nine`, max_len 5 - text-position table is now active; image row-rope and time rotor stay image-only - trainer maps dataset labels through the prompt table - sampler broadcasts a single `[L]` prompt over the batch - trainer sample grid uses the prompt table MNIST 4L RAT-32, 10k, 5 tokens: val 0.0414, 87.8% unguided, 100% at guidance 5. One-token reference: 0.0404, 76.1%, 100%.
dsh merged commit 0590edb5c3 into master 2026-12-01 21:56:18 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ml-lab/wink!45
No description provided.