mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-10-22 16:41:29 +00:00
Implement configurable context length (#1749)
This commit is contained in:
@@ -23,7 +23,7 @@ void* load_model(const char *fname, int n_threads) {
|
||||
fprintf(stderr, "%s: error '%s'\n", __func__, new_error);
|
||||
return nullptr;
|
||||
}
|
||||
if (!llmodel_loadModel(model, fname)) {
|
||||
if (!llmodel_loadModel(model, fname, 2048)) {
|
||||
llmodel_model_destroy(model);
|
||||
return nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user