mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-28 12:25:03 +00:00
py : add model class for Chameleon conversion (#9683)
This commit is contained in:
@ -4162,7 +4162,8 @@ class GraniteMoeModel(GraniteModel):
|
|||||||
return super().modify_tensors(data_torch, name, bid)
|
return super().modify_tensors(data_torch, name, bid)
|
||||||
|
|
||||||
|
|
||||||
@Model.register("ChameleonForCausalLM")
|
@Model.register("ChameleonForConditionalGeneration")
|
||||||
|
@Model.register("ChameleonForCausalLM") # obsolete
|
||||||
class ChameleonModel(Model):
|
class ChameleonModel(Model):
|
||||||
model_arch = gguf.MODEL_ARCH.CHAMELEON
|
model_arch = gguf.MODEL_ARCH.CHAMELEON
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user