Skip to content

Commit

Permalink
py : add model class for Chameleon conversion (#9683)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopperl authored Sep 29, 2024
1 parent 589b48d commit f99d3f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion convert_hf_to_gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4162,7 +4162,8 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter
return super().modify_tensors(data_torch, name, bid)


@Model.register("ChameleonForCausalLM")
@Model.register("ChameleonForConditionalGeneration")
@Model.register("ChameleonForCausalLM") # obsolete
class ChameleonModel(Model):
model_arch = gguf.MODEL_ARCH.CHAMELEON

Expand Down

0 comments on commit f99d3f8

Please sign in to comment.