Update __init__.py
Browse files- __init__.py +5 -1
__init__.py
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
# __init__.py
|
2 |
from .modeling_custom import CustomConfig, CustomModel
|
|
|
3 |
|
4 |
-
|
|
|
|
|
|
|
|
1 |
# __init__.py
|
2 |
from .modeling_custom import CustomConfig, CustomModel
|
3 |
+
from transformers import AutoConfig, AutoModel, CONFIG_MAPPING, MODEL_MAPPING
|
4 |
|
5 |
+
CONFIG_MAPPING.update({"custom_model": CustomConfig})
|
6 |
+
MODEL_MAPPING.update({"custom_model": CustomModel})
|
7 |
+
|
8 |
+
__all__ = ["CustomConfig", "CustomModel"]
|