Add new llama.cpp library (2048 context, temperature, etc now work)
This commit is contained in:
parent
39f3fec913
commit
03cb44fc8c
3 changed files with 67 additions and 1 deletions
|
@ -103,7 +103,7 @@ def load_model(model_name):
|
|||
|
||||
# llamacpp model
|
||||
elif shared.is_llamacpp:
|
||||
from modules.llamacpp_model import LlamaCppModel
|
||||
from modules.llamacpp_model_alternative import LlamaCppModel
|
||||
|
||||
model_file = list(Path(f'{shared.args.model_dir}/{model_name}').glob('ggml*.bin'))[0]
|
||||
print(f"llama.cpp weights detected: {model_file}\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue