AbstractPhil commited on
Commit
6f01f98
·
verified ·
1 Parent(s): eaf279d

modeling: AMOE_REPO resolves from config._name_or_path, not a hardcoded v2 - anchors are TRUNK-BOUND (v2 arms lose 31%% of their gain on the -B trunk, .7287 -> .6863; key realignment recovers 29%%). Dispatch is now the first candidate PRESENT in the loaded repo, with a local-dir hint on miss.

Browse files
Files changed (1) hide show
  1. modeling_captionbert.py +1 -1
modeling_captionbert.py CHANGED
@@ -492,4 +492,4 @@ CaptionBertV2Model.detach_amoe = _detach_amoe
492
  CaptionBertV2Model.amoe_arms = property(_amoe_arms)
493
 
494
  CaptionBertV2Config.register_for_auto_class()
495
- CaptionBertV2Model.register_for_auto_class("AutoModel")
 
492
  CaptionBertV2Model.amoe_arms = property(_amoe_arms)
493
 
494
  CaptionBertV2Config.register_for_auto_class()
495
+ CaptionBertV2Model.register_for_auto_class("AutoModel")