Model: Support Qwen 72B RM model. (#3772)
This commit is contained in:
1 parent
e310722266
commit
20b765a26e
4 files changed
+75
-1
No files matched your search
@@ -389,6 +389,7 @@ def is_generation_model(model_architectures: List[str], is_embedding: bool = Fal
|
||||
or "LlamaForSequenceClassification" in model_architectures
|
||||
or "LlamaForSequenceClassificationWithNormal_Weights" in model_architectures
|
||||
or "InternLM2ForRewardModel" in model_architectures
|
||||
or "Qwen2ForRewardModel" in model_architectures
|
||||
):
|
||||
return False
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user