zaydzuhri's picture
Add files using upload-large-folder tool
e49db55 verified
raw
history blame
639 Bytes
from transformers import AutoConfig, AutoModel, AutoModelForCausalLM
from fla.models.gated_deltaproduct.configuration_gated_deltaproduct import GatedDeltaProductConfig
from fla.models.gated_deltaproduct.modeling_gated_deltaproduct import GatedDeltaProductForCausalLM, GatedDeltaProductModel
AutoConfig.register(GatedDeltaProductConfig.model_type, GatedDeltaProductConfig)
AutoModel.register(GatedDeltaProductConfig, GatedDeltaProductModel)
AutoModelForCausalLM.register(GatedDeltaProductConfig, GatedDeltaProductForCausalLM)
__all__ = [
"GatedDeltaProductConfig",
"GatedDeltaProductForCausalLM",
"GatedDeltaProductModel",
]