Code Gemma 2B prompt: Code Completion
Develop IDE Code Completion Prompts and supporting code for the IDE for Code Gemma 2B
This assumes that all the IDEs have the same code due to a editor abstraction layer. If this is not the case, we will split issue.
The results for Code Gemma 2B for Code Completion are very strong. As such, we will want to use very light prompting, based on the AI Validation test prompt, to ensure that we don't impede the model by over-prompting.
Resources
- Existing prompts
- Base Prompts (used for Validation and the starting point for prompting)
- Code Gemma Model Card
- Supported editor extensions
- Code Suggestions documentation
- https://ai.google.dev/gemma/docs
- https://www.promptingguide.ai/models/gemma
- https://gitlab.com/gitlab-org/modelops/ai-model-validation-and-research/ai-evaluation/prompt-library/-/issues/212+
- https://gitlab.com/gitlab-org/gitlab/-/issues/455319#note_1886263572
Definition of Done
-
Prompts developed for Code Gemma 2B prompt: IDE Code Completion -
Prompts validated using the Evaluation Framework
Edited by Susie Bitters