You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 100 of generate.py file of main branch. The model_forward function is called here, but there are only 3 parameters, namely model, x, input_pos, without mask. Then the model_forward function will execute model(x,input_pos). In model.py, the first parameter of Transformer forward function is mask, and the next two parameters are idx and input_pos. One parameter is missing here. How should I modify it here or is there any other version of the code that is correct?
generate.py line:118
generate.py line:100
model.py line:149
The text was updated successfully, but these errors were encountered:
Line 100 of generate.py file of main branch. The model_forward function is called here, but there are only 3 parameters, namely model, x, input_pos, without mask. Then the model_forward function will execute model(x,input_pos). In model.py, the first parameter of Transformer forward function is mask, and the next two parameters are idx and input_pos. One parameter is missing here. How should I modify it here or is there any other version of the code that is correct?
generate.py line:118
generate.py line:100
model.py line:149
The text was updated successfully, but these errors were encountered: