ise-uiuc / magicoder

Magicoder: Source Code Is All You Need

Home Page:https://arxiv.org/abs/2312.02120

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does this model support fill-in-the-middle?

HermitSun opened this issue · comments

Fill-in-the-middle can allow the model to make better completions. It would be nice if this model supports it.

Hi @HermitSun, our Magicoder-DS models support infilling, since they are fine-tuned from DeepSeek-Coder which supports infilling natively. For example, if you want to do infilling with Magicoder-S-DS-6.7B, you can refer to deepseek-coder-6.7b's documentation on infilling and encode your prompt in the same way.

Does this model actually performs better than deepseek-coder-6.7b at fill-in-the-middle tasks? seams fill-in-the-middle is not the goal of this model (although it supported)

Hi @erfanium, we found that it could be better at fill-in-the-middle tasks than the base model in some of our follow-up evaluations, but that was small scale and I recommend evaluating both according to your own use cases.