Question about Improving Code Generation with Promting #153

Open
opened 2024-03-05 11:05:33 -05:00 by icnahom · 0 comments
icnahom commented 2024-03-05 11:05:33 -05:00 (Migrated from github.com)

It shows on the paper (Section E.3) that we can put prompt prefixes with the <filename> token.

My Question is, how do we handle this when the prompt we are making is a Fill-in-middle one?

Should the prompt prefix come before the <fim_prefix> token or after?

Which one is correct, A or B? :

  • A. <filename> data <fim_prefix> content <fim_suffix> content <fim_middle>
  • B. <fim_prefix> <filename> data + content <fim_suffix> content <fim_middle>
It shows on the [paper](https://arxiv.org/html/2305.06161v2) (Section E.3) that we can put prompt prefixes with the `<filename>` token. My Question is, how do we handle this when the prompt we are making is a Fill-in-middle one? Should the prompt prefix come before the `<fim_prefix>` token or after? Which one is correct, A or B? : - A. `<filename>` data `<fim_prefix>` content `<fim_suffix>` content `<fim_middle>` - B. `<fim_prefix>` `<filename>` data + content `<fim_suffix>` content `<fim_middle>`
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bigcode-project/starcoder#153
No description provided.