1 Fill‐In‐The‐Middle (FIM)
lmg-anon edited this page 2025-11-01 00:29:39 -03:00

Mikupad allows you to seamlessly use models to generate text that connects a preceding part (prefix) and a following part (suffix).

image
  • Usage:
    1. Ensure your selected Instruct Template has a FIM template defined (e.g., [SUFFIX]{suffix}[PREFIX]{prefix}).
    2. Place the {fill} placeholder in your prompt where you want the text to be inserted.
    3. When you press Predict, the model will generate text to bridge the gap.
  • Alternative: If no FIM template is available, you can use {predict}. The model will generate from that point, but it will not be aware of the text that comes after the placeholder.