Replace ggml occurences with gguf
This commit is contained in:
parent
1a642c12b5
commit
83640d6f43
5 changed files with 12 additions and 12 deletions
|
@ -165,7 +165,7 @@ class LlamacppHF(PreTrainedModel):
|
|||
if path.is_file():
|
||||
model_file = path
|
||||
else:
|
||||
model_file = list(path.glob('*ggml*.bin'))[0]
|
||||
model_file = list(path.glob('*.gguf*'))[0]
|
||||
|
||||
logger.info(f"llama.cpp weights detected: {model_file}\n")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue