frohzinn's picture
download
raw
409 Bytes
from __future__ import annotations
from .base import ModelBase, TextModel, gguf
@ModelBase.register("MaincoderForCausalLM")
class MaincoderModel(TextModel):
model_arch = gguf.MODEL_ARCH.MAINCODER
def set_gguf_parameters(self):
super().set_gguf_parameters()
if (head_dim := self.hparams.get("head_dim")) is not None:
self.gguf_writer.add_rope_dimension_count(head_dim)

Xet Storage Details

Size:
409 Bytes
·
Xet hash:
0dbd7a7eceb4862c6643201c910a851e7f28a113b005108e7a85ed56a2d5505c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.