Hello,
I am getting “There was an error grading your submission. Details: name ‘transformer’ is not defined" when I submit. Please let me know how to resolve this error.
Hello,
I am getting “There was an error grading your submission. Details: name ‘transformer’ is not defined" when I submit. Please let me know how to resolve this error.
Hmm… I would suggest to refresh your working space and redo (paste your saved code where intended) to make sure you haven’t modified the trained model.
Another thing to check would be if you do use the :
Use the
transformer_utils.next_word
function, which predicts the next token in the answer using the model, input document, and the current state of the output.
as per instructions and not the model itself.
Cheers
Thank you for the answer