Update model/__init__.py
Browse files- model/__init__.py +7 -7
model/__init__.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
from .agent import DeepSpeedAgent
|
2 |
from .openlamm import LAMMPEFTModel
|
3 |
|
4 |
|
5 |
-
def load_model(args):
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
1 |
+
# from .agent import DeepSpeedAgent
|
2 |
from .openlamm import LAMMPEFTModel
|
3 |
|
4 |
|
5 |
+
# def load_model(args):
|
6 |
+
# agent_name = args['models'][args['model']]['agent_name']
|
7 |
+
# model_name = args['models'][args['model']]['model_name']
|
8 |
+
# model = globals()[model_name](**args)
|
9 |
+
# agent = globals()[agent_name](model, args)
|
10 |
+
# return agent
|