Skip to content

Commit

Permalink
use new model class for chameleon conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nopperl committed Sep 29, 2024
1 parent f4d2b88 commit 1ddd9ab
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 1ddd9ab

Please sign in to comment.