Running_you
Results
issues of
Running_you
如标题,请教下agent_r1/src/agent_ray_trainer.py文件下第1083行代码的疑惑,grpo算法参数配置中设置为True,代码逻辑这里是否表示不使用了? // compute rewards. apply_kl_penalty if available if not self.config.actor_rollout_ref.actor.get('use_kl_loss', False): batch, kl_metrics = apply_kl_penalty(batch, kl_ctrl=self.kl_ctrl, kl_penalty=self.config.algorithm.kl_penalty) metrics.update(kl_metrics) else: batch.batch['token_level_rewards'] = batch.batch['token_level_scores']