dpfried / incoder

Generative model for code infilling and synthesis
291 stars 25 forks source link

insertion mode #9

Closed qingerVT closed 1 year ago

qingerVT commented 2 years ago

Hey,

Want to confirm the prompt for insertion mode. Let's say

left context + '<|mask:0|>' + right context

Is this correct?

Eric-Wallace commented 2 years ago

Yes thats right! You can see example_usage.py for the exact implementation we use.