Code Completion Prompt for Mistral Series
This issue is to capture work and results around creating code creations prompts for remaining non-supported Mistral models, to enable single-model support for all Duo currently supported GA features.
Based on the results of model baselines performed in 17.3, for each variant determined appropriate for code creation a prompt must be created. It may be possible that all Mistral versions can utilize the same prompt.
The model for consideration are:
- mistralai/Mistral-7B-v0.3
- mistralai/Mistral-7B-Instruct-v0.3
- mistralai/Mixtral-8x7B-v0.1
- mistralai/Mixtral-8x7B-Instruct-v0.1
- mistralai/Mixtral-8x22B-v0.1
- mistralai/Mixtral-8x22B-Instruct-v0.1
Note: Codestral 22B is already supported for both Code Generation and Code Completion.
Definition of Done
Each viable Mistral model has a code creation prompt and can be used for Code Suggestions. Each model has a cosine similarity score at par with current feature quality scores.
Edited by Susie Bitters