Local AI Glossary

What is Fill-in-the-middle (FIM)?

Source: paperswithcode/FIM

A code completion mode where the model sees code both before and after a cursor and predicts the missing middle. Used by Copilot, Continue, Aider. Supported by StarCoder2, Qwen 2.5-Coder, DeepSeek Coder.

How Fill-in-the-middle (FIM) fits in the local AI stack

Fill-in-the-middle (FIM) is part of the broader local AI ecosystem. See the related guides, comparisons, and tools below to see how it applies in practice.

See also

Related terms