Switch to new models2.json for new gguf release and bump our version to

2.5.0.
This commit is contained in:
Adam Treat
2023-10-05 09:56:40 -04:00
parent 088afada49
commit ea66669cef
13 changed files with 167 additions and 22 deletions

View File

@@ -21,7 +21,7 @@ const DEFAULT_MODEL_CONFIG = {
promptTemplate: "### Human: \n%1\n### Assistant:\n",
}
const DEFAULT_MODEL_LIST_URL = "https://gpt4all.io/models/models.json";
const DEFAULT_MODEL_LIST_URL = "https://gpt4all.io/models/models2.json";
const DEFAULT_PROMPT_CONTEXT = {
temp: 0.7,

View File

@@ -236,7 +236,7 @@ async function retrieveModel(modelName, options = {}) {
file: retrieveOptions.modelConfigFile,
url:
retrieveOptions.allowDownload &&
"https://gpt4all.io/models/models.json",
"https://gpt4all.io/models/models2.json",
});
const loadedModelConfig = availableModels.find(