3 ms·
I read the release but didn't quite understand the difference between a next-edit model and a FIM model - does anyone have a clear explanation of when to use on
by kamranjon 9mo ago
I read the release but didn't quite understand the difference between a next-edit model and a FIM model - does anyone have a clear explanation of when to use one over the other? I'd love if there was a sublime plugin to utilize this model and try it out, might see if I can figure that out.
- sheepscreek 9mo agoI’m going to speculate a bit here, FIM may stand for something-in-the-middle? I know there are the original autocomplete models that simply complete the endings. Then there are Cursor like models capable of editing/filling text between blocks of code. In essence, they look at both the text before the insertion point and after it - then find the best fitting completion in the middle. My guess is FIM is the latter.
- aidos 9mo agoAs you said. Fill-in-the-middle.
- evolving-silica 9mo agoI was curious as well and wanted to try how this work, so I asked claude to create a plugin for that. This utilizes built-in autocomplete behavior. If you want to give it a try then feel free to have a look here https://github.com/lumnn/AItoComplete https://github.com/lumnn/AItoComplete (did not push it to packagecontrol yet)
- kevinlu1248 9mo agoWe have an explanation here: https://blog.sweep.dev/posts/next-edit-jetbrains#next-edit-autocomplete https://blog.sweep.dev/posts/next-edit-jetbrains#next-edit-a... But basically suggesting changes away from your cursor position