Code Completion
Domain: Code Generation
π― Motivation
As you type code, the model predicts and suggests the rest of the line or block. Like autocomplete for programming.
π Concrete Example
You type βfor i in rβ and the model suggests βfor i in range(len(list)):β with the rest of the loop body. Press Tab to accept.
π Analogy
Autocomplete on your phone - you type βSee youβ and it suggests tomorrow. Code completion is autocomplete for code, suggesting the next line or block.