Giter Club home page Giter Club logo

toxic-comments's Introduction

Introduction

Online discussions can be difficult in the digital age. The threat of abuse and harassment online may create a barrier for people to stop expressing themselves and give up seeking different opinions online. Platforms struggle to effectively facilitate conversations, leading many of them limiting or completely shutting down user comments.

source: https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/overview

Purpose

This repo aims to create an end-to-end ML pipeline covering data preparation, cleaning & preprocessing, model training & evaluation, and inference.

This repo has been dockerized and should run with other dependency repos/docker containers such as MLflow, postgres, MinIO. To setup the other repos/containers, follow the instructions here.

Pre-requisite

  • Data can be found in this link and placed in data/ folder
  • Embeddings can be found in this link and placed in embeddings/ folder

TODO List

The main parts of the pipelines in the repo has been completed. These are the WIPs:

  • Change print statements to loggers
  • Change / Upload data to read/write from/to DB (using DB image)
  • Create a simple frontend for demo
  • Create prerequisite files to create folders and download necessary files (e.g. glove embeddings, data)
  • Pending mlflow integration with transformer flavour to load, save and log models - link (Completed with mlflow==2.4.1)

Bugs

  • BiLSTMClfTF model will break training pipeline if using the whole dataset in GPU. It is recommended to train a subset of the data if training on a GPU with small VRAM. A larger GPU is needed for training the entire dataset.

toxic-comments's People

Contributors

arsyad-ah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.