Update any_model.py
Browse files- 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)
|