Completion mode
Fill in the middle
Continue code
Maximum new tokens
↺
16
128
Before the cursor
def is_even(n): return
After the cursor · fill-in-the-middle only
Try a starting point — then generate
Even or odd · fill
Square · fill
Factorial · continue
Even or odd · continue
Generate suggestion ↗
Ready to explore. Pick a starting point or edit the code above.
Generated suggestion
Code with suggestion inserted
About this research demo
▼