Re:BigCode Project Releases StarCoder: A 15B Code LLM
by enum on Thursday May 04, 2023 @03:16PM
(#35820694)
You may (but do not have to) use <reponame>, <filename>, etc. as special tokens to prompt the model with extra metadata. These help you use the model go beyond just code completion.
Page 30 of the TR has a few examples:
https://drive.google.com/file/d/1cN-b9GnWtHzQRoE7M7gAEyivY0k...
Note that they were produced with StarCoderBase. E.g., here is one:
Input:
Output: (If you try this in the playground, dial down the repetition penalty to say 1.0 in Advanced Settings.)