salesforce / CodeGen

CodeGen is a family of open-source model for program synthesis. Trained on TPU-v4. Competitive with OpenAI Codex.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use infills sampling?

zch-cc opened this issue · comments

commented

The infill sampling on the readme in the huggingface page does not generate meaningful outputs. How to use fill in the middle mode correctly for the model? Here is also a related discussion on the huggingface https://huggingface.co/Salesforce/codegen2-1B/discussions/2