Update any_model.py
Browse files- any_model.py +2 -1
any_model.py
CHANGED
|
@@ -861,4 +861,5 @@ from transformers import AutoConfig, AutoModel
|
|
| 861 |
|
| 862 |
AutoConfig.register("any_model", AnyModelConfig)
|
| 863 |
AutoModel.register(AnyModelConfig, AnyModelForConditionalGeneration)
|
| 864 |
-
AutoModel.register(AnyModelConfig, AnyRewardModel)
|
|
|
|
|
|
| 861 |
|
| 862 |
AutoConfig.register("any_model", AnyModelConfig)
|
| 863 |
AutoModel.register(AnyModelConfig, AnyModelForConditionalGeneration)
|
| 864 |
+
AutoModel.register(AnyModelConfig, AnyRewardModel)
|
| 865 |
+
AutoProcessor.register("AnyModelProcessor", AnyModelProcessor)
|