LightNovel-Intro-RetNet-400M / modeling_retnet.py
p1atdev's picture
include retnet modeling
ab30eb6
raw
history blame
231 Bytes
from RetNet.retnet.modeling_retnet import RetNetForCausalLM, RetNetConfig
LightNovelIntroRetNetModelConfig = RetNetConfig
class LightNovelIntroRetNetModel(RetNetForCausalLM):
config_class = LightNovelIntroRetNetModelConfig