Skip to content

Switch NSFW text from Python to Notebook format #927

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

guibaq
Copy link

@guibaq guibaq commented Apr 1, 2023

Changed NSFW_text.py to Jupyter Notebook format.

Indeed, the code reads like it was an extract from a Notebook; it doesn't read naturally in Python format (as it is currently), and it would be more readable to use a Notebook format instead.

In addition:

  • added a sample data for the data df that seemed to be missing (bug fix). Just filled a few rows to give the idea, I understand that you don't want to share your training data
    image

  • added some doc to make the file more readable

Could not test the code because it relies on internal Twitter libraries.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@spunsosig
Copy link

lgtm

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