mgalkin commited on
Commit
556ac6a
1 Parent(s): c04ccc0

auto_map in the config

Browse files
Files changed (1) hide show
  1. modeling.py +5 -0
modeling.py CHANGED
@@ -10,6 +10,11 @@ from ultra.eval import test
10
  class UltraConfig(PretrainedConfig):
11
 
12
  model_type = "ultra"
 
 
 
 
 
13
 
14
  def __init__(
15
  self,
 
10
  class UltraConfig(PretrainedConfig):
11
 
12
  model_type = "ultra"
13
+
14
+ "auto_map": {
15
+ "AutoConfig": "modeling.UltraConfig",
16
+ "AutoModel": "modeling.UltraForKnowledgeGraphReasoning",
17
+ }
18
 
19
  def __init__(
20
  self,