{"id":17069658,"url":"https://github.com/kumar-shridhar/online-toxicity-detection","last_synced_at":"2025-05-07T09:28:29.063Z","repository":{"id":116648880,"uuid":"262786409","full_name":"kumar-shridhar/Online-Toxicity-Detection","owner":"kumar-shridhar","description":"APOLLO-1: Online Toxicity Detection","archived":false,"fork":false,"pushed_at":"2020-06-06T12:16:03.000Z","size":12372,"stargazers_count":2,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T08:39:31.005Z","etag":null,"topics":["attention-model","bert-model","deep-learning","nlp","nlp-machine-learning","roberta","toxic-comment-classification"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kumar-shridhar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-10T12:52:18.000Z","updated_at":"2022-09-21T06:31:58.000Z","dependencies_parsed_at":"2023-09-11T09:01:58.899Z","dependency_job_id":null,"html_url":"https://github.com/kumar-shridhar/Online-Toxicity-Detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumar-shridhar%2FOnline-Toxicity-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumar-shridhar%2FOnline-Toxicity-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumar-shridhar%2FOnline-Toxicity-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumar-shridhar%2FOnline-Toxicity-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kumar-shridhar","download_url":"https://codeload.github.com/kumar-shridhar/Online-Toxicity-Detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252850417,"owners_count":21813960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attention-model","bert-model","deep-learning","nlp","nlp-machine-learning","roberta","toxic-comment-classification"],"created_at":"2024-10-14T11:27:30.796Z","updated_at":"2025-05-07T09:28:29.048Z","avatar_url":"https://github.com/kumar-shridhar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Python 3.7+](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/release/python-376/)\n[![TensorFlow 2.1](https://img.shields.io/badge/tensorflow-2.1.1-blue.svg)](https://github.com/tensorflow/tensorflow/releases)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/kumar-shridhar/APOLLO-1/blob/master/LICENSE)\n\n![.](apollo/Frontend/static/img/LogoMakr_2DoISf.png) \n\n##### Read more about the project in our [blog](https://medium.com/@shridhar743/are-you-indulging-in-a-toxic-conversation-c67708b8895). \n\n# Online Toxicity Detection\n\nProject **Apollo** consist of a series of projects that are aimed at using Deep Learning for various applications. This work presents the first project: **APOLLO-1**. This project is aimed at developing an application that detects **toxicity in an online conversation**.\n\n\n![.](apollo/Frontend/static/img/APOLLO1.gif) \n\n---------------------------------------------------------------------------------------------------------\n\n## How to run\n\n1. Clone the repo: ``` git clone https://github.com/kumar-shridhar/Online-Toxicity-Detection.git``` \n2. Make sure you have anaconda installed. If not, check [here](https://docs.anaconda.com/anaconda/install/). \n3. Install all the requirements using conda yaml: ```conda env create -f environment_{os}.yml``` where ```{os}``` can be ```Windows``` or ```Linux```.\n4. Download saved model from [here](https://drive.google.com/file/d/1RNd4L_zGVrFF_Cl-6KfoHIInMO-5A0e3/view?usp=sharing)\n5. Unzip the model and save in ```Online-Toxicity-Detection/apollo/inference``` folder.\n6. Run command: \n    * ``` cd Online-Toxicity-Detection```\n    * ``` python apollo/Frontend/app.py```\n7. Go to the link in the console and provide the YouTube URL, and adjust the ```sensitivity``` and ```number of comments```. The results will be displayed in a chart form. \n8. You can export the ```.csv``` file of the final results by clicking on ```export results```.\n\n---------------------------------------------------------------------------------------------------------\n\n## References\n\n* [Egbertbouman](https://github.com/egbertbouman/youtube-comment-downloader)\n* [HuggingFace](https://github.com/huggingface/transformers)\n* [Xhlulu](https://www.kaggle.com/xhlulu/jigsaw-tpu-xlm-roberta)\n\n---------------------------------------------------------------------------------------------------------\n\n### Contact\n\nFeel free to contact the authors in case of any issues. \n\n[Naveed Akram](https://github.com/n-akram), [Ritu Yadav](https://github.com/RituYadav92), [Venkatesh Iyer](https://github.com/venkyiyer)\n[Sadique Adnan Siddiqui](https://github.com/sadique-adnan), [Ashutosh Mishra](https://github.com/ashutoshmishra1014), [Kumar Shridhar](https://kumar-shridhar.github.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkumar-shridhar%2Fonline-toxicity-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkumar-shridhar%2Fonline-toxicity-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkumar-shridhar%2Fonline-toxicity-detection/lists"}