XuyaoWang commited on
Commit
500568f
·
verified ·
1 Parent(s): 018e2db

Update any_model.py

Browse files
Files changed (1) hide show
  1. any_model.py +1 -1
any_model.py CHANGED
@@ -857,7 +857,7 @@ class AnyRewardModel(AnyModelForConditionalGeneration):
857
  end_index=end_index, # size = (B,)
858
  )
859
 
860
- from transformers import AutoConfig, AutoModel
861
 
862
  AutoConfig.register("any_model", AnyModelConfig)
863
  AutoModel.register(AnyModelConfig, AnyModelForConditionalGeneration)
 
857
  end_index=end_index, # size = (B,)
858
  )
859
 
860
+ from transformers import AutoConfig, AutoModel, AutoProcessor
861
 
862
  AutoConfig.register("any_model", AnyModelConfig)
863
  AutoModel.register(AnyModelConfig, AnyModelForConditionalGeneration)