msj19's picture
Add files using upload-large-folder tool
e0fffc1 verified
Raw History Blame Contribute Delete
684 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, exist_ok=True)
AutoModel.register(GatedDeltaProductConfig, GatedDeltaProductModel, exist_ok=True)
AutoModelForCausalLM.register(GatedDeltaProductConfig, GatedDeltaProductForCausalLM, exist_ok=True)
__all__ = [
"GatedDeltaProductConfig",
"GatedDeltaProductForCausalLM",
"GatedDeltaProductModel",
]