auto_map in modeling
Browse files- modeling.py +2 -2
modeling.py
CHANGED
@@ -10,8 +10,8 @@ from ultra.eval import test
|
|
10 |
class UltraConfig(PretrainedConfig):
|
11 |
|
12 |
model_type = "ultra"
|
13 |
-
|
14 |
-
|
15 |
"AutoConfig": "modeling.UltraConfig",
|
16 |
"AutoModel": "modeling.UltraForKnowledgeGraphReasoning",
|
17 |
}
|
|
|
10 |
class UltraConfig(PretrainedConfig):
|
11 |
|
12 |
model_type = "ultra"
|
13 |
+
|
14 |
+
auto_map = {
|
15 |
"AutoConfig": "modeling.UltraConfig",
|
16 |
"AutoModel": "modeling.UltraForKnowledgeGraphReasoning",
|
17 |
}
|