Skip to content

Commit

Permalink
Merge pull request #1159 from janhq/hotfix/model.json
Browse files Browse the repository at this point in the history
Hotfix Prompt template for models on the Hub
  • Loading branch information
hahuyhoang411 committed Dec 21, 2023
2 parents 247a1f1 + 803e89e commit 75e0342
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion extensions/model-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@janhq/model-extension",
"version": "1.0.15",
"version": "1.0.16",
"description": "Model Management Extension provides model exploration and seamless downloads",
"main": "dist/index.js",
"module": "dist/module.js",
Expand Down
2 changes: 1 addition & 1 deletion models/mixtral-8x7b-instruct/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"metadata": {
"author": "MistralAI, TheBloke",
"tags": ["MOE", "Foundational Model"],
"tags": ["70B", "Foundational Model"],
"size": 26440000000
},
"engine": "nitro"
Expand Down
4 changes: 2 additions & 2 deletions models/pandora-10.7b-v1/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"format": "gguf",
"settings": {
"ctx_len": 4096,
"prompt_template": "<|im_start|>system\n{system_message}<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant"
"prompt_template": "{system_message}\n### Instruction:\n{prompt}\n### Response:"
},
"parameters": {
"max_tokens": 4096
},
"metadata": {
"author": "Jan",
"tags": ["11B","Merged"],
"tags": ["13B","Merged"],
"size": 6360000000
},
"engine": "nitro"
Expand Down
2 changes: 1 addition & 1 deletion models/solar-10.7b-slerp/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"metadata": {
"author": "Jan",
"tags": ["11B","Finetuned"],
"tags": ["13B","Finetuned"],
"size": 6360000000
},
"engine": "nitro"
Expand Down
2 changes: 1 addition & 1 deletion models/trinity-v1-7b/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"format": "gguf",
"settings": {
"ctx_len": 4096,
"prompt_template": "<|im_start|>system\n{system_message}<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant"
"prompt_template": "{system_message}\n### Instruction:\n{prompt}\n### Response:"
},
"parameters": {
"max_tokens": 4096
Expand Down

0 comments on commit 75e0342

Please sign in to comment.