Flake8 format
This commit is contained in:
parent
b7f984a0df
commit
1f6929e557
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue