Whitespace formatting fixes.
This commit is contained in:
parent
71d8bd6480
commit
c95013d1b5
2 changed files with 2 additions and 2 deletions
|
@ -1516,6 +1516,7 @@ class LlamaModel(Model):
|
||||||
if len(experts) > 0:
|
if len(experts) > 0:
|
||||||
raise ValueError(f"Unprocessed experts: {experts.keys()}")
|
raise ValueError(f"Unprocessed experts: {experts.keys()}")
|
||||||
|
|
||||||
|
|
||||||
@Model.register("ArcticForCausalLM")
|
@Model.register("ArcticForCausalLM")
|
||||||
class ArcticModel(Model):
|
class ArcticModel(Model):
|
||||||
model_arch = gguf.MODEL_ARCH.ARCTIC
|
model_arch = gguf.MODEL_ARCH.ARCTIC
|
||||||
|
@ -1629,7 +1630,6 @@ class ArcticModel(Model):
|
||||||
raise ValueError(f"Unprocessed experts: {experts.keys()}")
|
raise ValueError(f"Unprocessed experts: {experts.keys()}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Model.register("GrokForCausalLM")
|
@Model.register("GrokForCausalLM")
|
||||||
class GrokModel(Model):
|
class GrokModel(Model):
|
||||||
model_arch = gguf.MODEL_ARCH.GROK
|
model_arch = gguf.MODEL_ARCH.GROK
|
||||||
|
|
|
@ -427,7 +427,7 @@ class TensorNameMap:
|
||||||
MODEL_TENSOR.FFN_NORM_EXP: (
|
MODEL_TENSOR.FFN_NORM_EXP: (
|
||||||
"model.layers.{bid}.post_attention_layernorm",
|
"model.layers.{bid}.post_attention_layernorm",
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
mapping: dict[str, tuple[MODEL_TENSOR, str]]
|
mapping: dict[str, tuple[MODEL_TENSOR, str]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue