Skip to content

Commit

Permalink
convert : add support for CamembertModel architecture (ggml-org#6119)
Browse files Browse the repository at this point in the history
Adding support for CamembertModel architecture used by :
https://huggingface.co/dangvantuan/sentence-camembert-large
  • Loading branch information
Royalphax authored Mar 18, 2024
1 parent 3a6efdd commit 9b03719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-hf-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,7 @@ def write_tensors(self):
self.post_write_tensors(tensor_map, name, data_torch)


@Model.register("BertModel")
@Model.register("BertModel", "CamembertModel")
class BertModel(Model):
model_arch = gguf.MODEL_ARCH.BERT

Expand Down

0 comments on commit 9b03719

Please sign in to comment.