Flake8 format

This commit is contained in:
Ashish 2024-04-14 16:46:26 -07:00
parent b7f984a0df
commit 1f6929e557

View file

@ -1186,6 +1186,7 @@ class PersimmonModel(Model):
@Model.register("StableLmForCausalLM", "StableLMEpochForCausalLM", "LlavaStableLMEpochForCausalLM")
class StableLMModel(Model):
model_arch = gguf.MODEL_ARCH.STABLELM
def set_vocab(self):
if (self.dir_model / "tokenizer.json").is_file():
self._set_vocab_gpt2()
@ -1290,6 +1291,7 @@ class StableLMModel(Model):
self.gguf_writer.add_tensor(new_name, data)
@Model.register("LlamaForCausalLM", "MistralForCausalLM", "MixtralForCausalLM")
class LlamaModel(Model):
model_arch = gguf.MODEL_ARCH.LLAMA