RWKV-ASR / fla /models /gla /__init__.py
fasdfsa's picture
init
32beb88
raw
history blame contribute delete
422 Bytes
# -*- coding: utf-8 -*-
from transformers import AutoConfig, AutoModel, AutoModelForCausalLM
from fla.models.gla.configuration_gla import GLAConfig
from fla.models.gla.modeling_gla import GLAForCausalLM, GLAModel
AutoConfig.register(GLAConfig.model_type, GLAConfig)
AutoModel.register(GLAConfig, GLAModel)
AutoModelForCausalLM.register(GLAConfig, GLAForCausalLM)
__all__ = ['GLAConfig', 'GLAForCausalLM', 'GLAModel']