Skip to content

Commit

Permalink
add more features to phi-2 model
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarijy committed Apr 2, 2024
1 parent e15058d commit 8e987c4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions modules/openvino_code/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/openvino_code/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"publisher": "OpenVINO",
"name": "openvino-code-completion",
"version": "0.0.13",
"version": "0.0.14",
"displayName": "OpenVINO Code Completion",
"description": "VSCode extension for AI code completion with OpenVINO",
"icon": "media/logo.png",
Expand Down
2 changes: 2 additions & 0 deletions modules/openvino_code/shared/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ export enum Features {
CODE_COMPLETION = 'Code Completion',
SUMMARIZATION = 'Summarization',
FIM = 'Fill-in-the-middle',
QA_FORMAT = 'QA Format',
CHAT_FORMAT = 'Chat Format',
}
2 changes: 1 addition & 1 deletion modules/openvino_code/shared/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export const MODEL_SUPPORTED_FEATURES: Record<ModelName, Features[]> = {
[ModelName.DECICODER_1B_OPENVINO_INT8]: [Features.CODE_COMPLETION, Features.SUMMARIZATION],
[ModelName.STABLECODE_COMPLETION_ALPHA_3B_4K_OPENVINO_INT8]: [Features.CODE_COMPLETION, Features.SUMMARIZATION],
[ModelName.DEEPSEEK_CODER_1_3B]: [Features.CODE_COMPLETION, Features.SUMMARIZATION, Features.FIM],
[ModelName.PHI_2_2_7B]: [Features.CODE_COMPLETION],
[ModelName.PHI_2_2_7B]: [Features.CODE_COMPLETION, Features.SUMMARIZATION, Features.QA_FORMAT, Features.CHAT_FORMAT],
};

0 comments on commit 8e987c4

Please sign in to comment.