Skip to content

Commit 0f1ca05

Browse files
author
Your Name
committed
重构代码
1 parent b537398 commit 0f1ca05

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

swift/trainers/rlhf_trainer/grpo_trainer.py

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ def __init__(self,
107107
from swift.trainers.rlhf_arguments import GRPOConfig
108108
args: GRPOConfig = kwargs['args']
109109
#add tool call
110-
print(args)
111110
self.tool_call = tools[args.tool_call]
112111
args.tool_call_weight = args.tool_call_weight
113112
self.reward_weights = torch.ones(1, dtype=torch.float32) #通过配置

0 commit comments

Comments
 (0)