akanyaani/gpt-2-tensorflow2.0

Mismatch in Arguments

gvermaredrock opened this issue · 6 comments

In Line 180 of gpt2_model, we define the function as:
def distributed_train_step(self,inputs, targets,step,grad_clip=True, clip_value=1.0):

But In line 229, we instantiate it as:
train_loss = self.distributed_train_step(inputs, step)

The targets variable / argument is missing.

Is there a fix for this?

Hi, can you please tell if this will be fixed? Thanks

Thanks Man, really looking forward to it. :)

Hi @rfebbo, @gvermaredrock ,
I have fixed the issue, please let me you find another issue.

great, thanks man. please close the bug then as it is misleading