mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-24 10:24:35 +00:00
py : fix extra space in convert_hf_to_gguf.py (#8407)
This commit is contained in:
parent
a59f8fdc85
commit
8f0fad42b9
@ -1356,7 +1356,7 @@ class LlamaModel(Model):
|
|||||||
|
|
||||||
def set_vocab(self):
|
def set_vocab(self):
|
||||||
try:
|
try:
|
||||||
self. _set_vocab_sentencepiece()
|
self._set_vocab_sentencepiece()
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
try:
|
try:
|
||||||
self._set_vocab_llama_hf()
|
self._set_vocab_llama_hf()
|
||||||
|
Loading…
Reference in New Issue
Block a user