Prefix Fragment Mechanics
A prefix fragment combines all prior tokens in a generated item with an alternative candidate token, forming a partial text string sent to the model in a targeted completion prompt.
flowchart LR
A["Prior Tokens<br>'Custom '"] --> C["Prefix Fragment<br>'Custom cycling '"]
B["Alt Candidate<br>'cycling' (p >= threshold)"] --> C
C --> D["Completion Prompt"]
D --> E["Branch Result<br>'Custom cycling jerseys'"]Referenced by
- Recursive Completions in Treewalker
- Treewalker Branch Mapping
- Treewalker Branch Exploration
- Token Branching Mechanics
- Treewalker Completion Queries
- Branch Completion Prompt Structure
- Branch Completion Prompt Structure
- Treewalker Branch Completion Triggering
- Treewalker Logprob Probing
- Branch Completion Prompts
- Treewalker Branch Completion Triggering
