py : fix extra space in convert_hf_to_gguf.py (#8407)

This commit is contained in:
laik 2024-07-10 19:19:10 +08:00 committed by GitHub
parent a59f8fdc85
commit 8f0fad42b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1356,7 +1356,7 @@ class LlamaModel(Model):
def set_vocab(self):
try:
self. _set_vocab_sentencepiece()
self._set_vocab_sentencepiece()
except FileNotFoundError:
try:
self._set_vocab_llama_hf()