Skip to content

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Jan 13, 2022

What does this PR do?

This line fails

>>> lm_logits = outputs.lm_logits

Should change from lm_logits to logits (See OpenAIGPTDoubleHeadsModelOutput)

Who can review

@patrickvonplaten, @LysandreJik

Copy link
Contributor

@patil-suraj patil-suraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for the fix!

@patil-suraj patil-suraj merged commit 4aa16fc into huggingface:master Jan 14, 2022
@ydshieh ydshieh deleted the fix_doc_example_018 branch January 14, 2022 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants