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

A consultation about code completion format: FIM (Fill In the Middle) + repository level information #343

Open
mofanke opened this issue Dec 31, 2024 · 1 comment

Comments

@mofanke
Copy link

mofanke commented Dec 31, 2024

Does this format meet expectations? It's FIM plus repository information - I couldn't quite understand this from the examples in the README.

input_text = f'''<|repo_name|>{repo_name}
<|file_sep|>{file_path1}
{file_content1}
<|file_sep|>{file_path2}
<|fim_prefix|>{prefix_code}<|fim_suffix|>{suffix_code}<|fim_middle|>
'''

@mofanke mofanke changed the title A consultation about code completion format: FIM (Fill In the Middle) + repository level A consultation about code completion format: FIM (Fill In the Middle) + repository level information Dec 31, 2024
@cyente
Copy link
Collaborator

cyente commented Jan 3, 2025

yes, you could try this format.

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

2 participants