Spaces:
Runtime error
Toxic-Tweets
Motivation
The internet has been converted from a tool offering unprecedented utility to mankind to a tool that can can destabilize societies and ven cause individuals to take their own lives.
Discussing things you care about can be difficult. The threat of abuse and harassment online means that many people stop expressing themselves and give up on seeking different opinions. Platforms struggle to effectively facilitate conversations, leading many communities to limit or completely shut down user comments.
The Conversation AI team, a research initiative founded by Jigsaw and Google (both a part of Alphabet) are working on tools to help improve online conversation. One area of focus is the study of negative online behaviors, like toxic comments (i.e. comments that are rude, disrespectful or otherwise likely to make someone leave a discussion). So far they’ve built a range of publicly available models served through the Perspective API, including toxicity. But the current models still make errors, and they don’t allow users to select which types of toxicity they’re interested in finding (e.g. some platforms may be fine with profanity, but not with other types of toxic content).
Initial Setup
For this project, I am using VSCode as my IDE with "Docker" and "Dev Containers" extensions installed. I will be creating a Docker dev envronment to build my project in, as it allows for standardization of libraries across machines.
Docker Dev Environment Creation Instructions using Docker Desktop
- Download and install Docker client
- Open Docker client
- Click "Dev Environments" > "Create" > "Get Started" > "Choose Source" > Link/Create a Git repo > "Continue"
- The environment is created and running
- In the "Dev Environments" tab, select the running container and click "OPEN IN VSCODE"
Verify that the container is running by running "docker ps" in the command line
Connect to docker container using CLI
For CLI creation of a dev environment, use this resource