support internlm2-reward (#1994)
This commit is contained in:
1 parent
3e33574374
commit
f18b9c7252
3 files changed
+65
No files matched your search
@@ -210,6 +210,7 @@ def is_generation_model(model_architectures: List[str], is_embedding: bool = Fal
|
||||
or "MistralModel" in model_architectures
|
||||
or "LlamaForSequenceClassification" in model_architectures
|
||||
or "LlamaForSequenceClassificationWithNormal_Weights" in model_architectures
|
||||
or "InternLM2ForRewardModel" in model_architectures
|
||||
):
|
||||
return False
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user