Agnes-AI's picture
Release E8T1 shared MoE model and reference inference code (part 2)
f2a1383 verified
Raw History Blame Contribute Delete
201 Bytes
def Ideogram4TextEncoderStateDictConverter(state_dict):
# `Ideogram4TextEncoder` holds the checkpoint's model under `self.model`.
return {"model." + key: state_dict[key] for key in state_dict}