yinuozhang
commited on
Commit
·
5b3f5a5
1
Parent(s):
c4cb3a0
update inference registration
Browse files- __init__.py +6 -1
__init__.py
CHANGED
@@ -1,2 +1,7 @@
|
|
|
|
|
|
|
|
1 |
from .model import MultitaskProteinModel
|
2 |
-
|
|
|
|
|
|
1 |
+
from transformers import AutoConfig, AutoModel
|
2 |
+
|
3 |
+
from .configuration import MetaLATTEConfig
|
4 |
from .model import MultitaskProteinModel
|
5 |
+
|
6 |
+
AutoConfig.register("metalatte", MetaLATTEConfig)
|
7 |
+
AutoModel.register(MetaLATTEConfig, MultitaskProteinModel)
|