Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bugs in tutorial #175

Merged
merged 1 commit into from
Feb 23, 2023
Merged

fix bugs in tutorial #175

merged 1 commit into from
Feb 23, 2023

Conversation

shizhediao
Copy link
Contributor

@shizhediao shizhediao commented Feb 23, 2023

Fix some bugs in examples/sentiment/notebooks/gpt2-sentiment.ipynb.

  • replace tokens with input_ids during model inspection.
  • added a line to import pandas. import pandas as pd

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@lvwerra lvwerra left a comment

Choose a reason for hiding this comment

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

Thanks a lot for fixing this! ❤️

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 23, 2023

The documentation is not available anymore as the PR was closed or merged.

@lvwerra lvwerra merged commit d4d3cd4 into huggingface:main Feb 23, 2023
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.

3 participants