MetaLATTE / __init__.py
yinuozhang's picture
update inference registration
5b3f5a5
raw
history blame contribute delete
241 Bytes
from transformers import AutoConfig, AutoModel
from .configuration import MetaLATTEConfig
from .model import MultitaskProteinModel
AutoConfig.register("metalatte", MetaLATTEConfig)
AutoModel.register(MetaLATTEConfig, MultitaskProteinModel)