Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about Improving Code Generation with Promting #153

Open
icnahom opened this issue Mar 5, 2024 · 0 comments
Open

Question about Improving Code Generation with Promting #153

icnahom opened this issue Mar 5, 2024 · 0 comments

Comments

@icnahom
Copy link

icnahom commented Mar 5, 2024

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant