Skip to content

Commit 7365f51

Browse files
authored
add more features to phi-2 model (#900)
1 parent 2ba8532 commit 7365f51

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

modules/openvino_code/package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/openvino_code/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"publisher": "OpenVINO",
33
"name": "openvino-code-completion",
4-
"version": "0.0.13",
4+
"version": "0.0.14",
55
"displayName": "OpenVINO Code Completion",
66
"description": "VSCode extension for AI code completion with OpenVINO",
77
"icon": "media/logo.png",

modules/openvino_code/shared/features.ts

+2
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ export enum Features {
22
CODE_COMPLETION = 'Code Completion',
33
SUMMARIZATION = 'Summarization',
44
FIM = 'Fill-in-the-middle',
5+
QA_FORMAT = 'QA Format',
6+
CHAT_FORMAT = 'Chat Format',
57
}

modules/openvino_code/shared/model.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ export const MODEL_SUPPORTED_FEATURES: Record<ModelName, Features[]> = {
2929
[ModelName.DECICODER_1B_OPENVINO_INT8]: [Features.CODE_COMPLETION, Features.SUMMARIZATION],
3030
[ModelName.STABLECODE_COMPLETION_ALPHA_3B_4K_OPENVINO_INT8]: [Features.CODE_COMPLETION, Features.SUMMARIZATION],
3131
[ModelName.DEEPSEEK_CODER_1_3B]: [Features.CODE_COMPLETION, Features.SUMMARIZATION, Features.FIM],
32-
[ModelName.PHI_2_2_7B]: [Features.CODE_COMPLETION],
32+
[ModelName.PHI_2_2_7B]: [Features.CODE_COMPLETION, Features.SUMMARIZATION, Features.QA_FORMAT, Features.CHAT_FORMAT],
3333
};

0 commit comments

Comments
 (0)