Hacker News new | ask | show | jobs
by gloflo 510 days ago
What is FIM?
2 comments

Fill-in-the-middle. If your cursor is in the middle of a file instead of at the end, then the LLM will consider text after the cursor in addition to the text before the cursor. Some LLMs can only look before the cursor; for coding,.ones that can FIM work better (for me at least).
FIM is "fill in middle", i.e. completion in a text editor using context on both sides of the cursor.