Merge pull request #3847 from janhq/fix/correct-stop-token-llava-models
fix: correct eos token of llava models
This commit is contained in:
commit
e2d9533e79
@ -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.19",
|
"version": "1.0.20",
|
||||||
"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",
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"id": "llava-13b",
|
"id": "llava-13b",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"name": "LlaVa 13B Q4",
|
"name": "LlaVa 13B Q4",
|
||||||
"version": "1.1",
|
"version": "1.2",
|
||||||
"description": "LlaVa can bring vision understanding to Jan",
|
"description": "LlaVa can bring vision understanding to Jan",
|
||||||
"format": "gguf",
|
"format": "gguf",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -24,7 +24,8 @@
|
|||||||
"mmproj": "mmproj-model-f16.gguf"
|
"mmproj": "mmproj-model-f16.gguf"
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"max_tokens": 4096
|
"max_tokens": 4096,
|
||||||
|
"stop": ["</s>"]
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"author": "liuhaotian",
|
"author": "liuhaotian",
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"id": "llava-7b",
|
"id": "llava-7b",
|
||||||
"object": "model",
|
"object": "model",
|
||||||
"name": "LlaVa 7B",
|
"name": "LlaVa 7B",
|
||||||
"version": "1.1",
|
"version": "1.2",
|
||||||
"description": "LlaVa can bring vision understanding to Jan",
|
"description": "LlaVa can bring vision understanding to Jan",
|
||||||
"format": "gguf",
|
"format": "gguf",
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -24,7 +24,8 @@
|
|||||||
"mmproj": "mmproj-model-f16.gguf"
|
"mmproj": "mmproj-model-f16.gguf"
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"max_tokens": 4096
|
"max_tokens": 4096,
|
||||||
|
"stop": ["</s>"]
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"author": "liuhaotian",
|
"author": "liuhaotian",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user