Sequence-Level Policy Gradient Objective - Coding problem | OneNoughtOne