Merge pull request #3665 from janhq/fix/phi3-medium-prompt-template
fix: correct prompt template for Phi3 Medium model
This commit is contained in:
commit
daf372f7ec
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@janhq/inference-cortex-extension",
|
"name": "@janhq/inference-cortex-extension",
|
||||||
"productName": "Cortex Inference Engine",
|
"productName": "Cortex Inference Engine",
|
||||||
"version": "1.0.16",
|
"version": "1.0.17",
|
||||||
"description": "This extension embeds cortex.cpp, a lightweight inference engine written in C++. See https://jan.ai.\nAdditional dependencies could be installed to run without Cuda Toolkit installation.",
|
"description": "This extension embeds cortex.cpp, a lightweight inference engine written in C++. See https://jan.ai.\nAdditional dependencies could be installed to run without Cuda Toolkit installation.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"node": "dist/node/index.cjs.js",
|
"node": "dist/node/index.cjs.js",
|
||||||
|
|||||||
@ -8,12 +8,12 @@
|
|||||||
"id": "phi3-medium",
|
"id": "phi3-medium",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"name": "Phi-3 Medium Instruct Q4",
|
"name": "Phi-3 Medium Instruct Q4",
|
||||||
"version": "1.3",
|
"version": "1.4",
|
||||||
"description": "Phi-3 Medium is Microsoft's latest SOTA model.",
|
"description": "Phi-3 Medium is Microsoft's latest SOTA model.",
|
||||||
"format": "gguf",
|
"format": "gguf",
|
||||||
"settings": {
|
"settings": {
|
||||||
"ctx_len": 128000,
|
"ctx_len": 128000,
|
||||||
"prompt_template": "<|user|> {prompt}<|end|><|assistant|><|end|>",
|
"prompt_template": "<|user|> {prompt}<|end|><|assistant|>",
|
||||||
"llama_model_path": "Phi-3-medium-128k-instruct-Q4_K_M.gguf",
|
"llama_model_path": "Phi-3-medium-128k-instruct-Q4_K_M.gguf",
|
||||||
"ngl": 33
|
"ngl": 33
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user