tinybrainbot-3m-loop / configuration_tbbloop.py
nkthebass's picture
TinyBrainBot-3M-Loop: 2.96M recurrent-depth model, final checkpoint
3020d73 verified
Raw History Blame Contribute Delete
457 Bytes
"""Config for TinyBrainBot recurrent-depth models (fields mirror the native TinyBrainBotConfig)."""
from transformers import PretrainedConfig
class TBBLoopConfig(PretrainedConfig):
model_type = "tbbloop"
def __init__(self, native=None, eval_loops=0, tie_word_embeddings=True, **kwargs):
self.native = native or {}
self.eval_loops = eval_loops
super().__init__(tie_word_embeddings=tie_word_embeddings, **kwargs)