Giter Site home page Giter Site logo

ipsedo / toxiccomment Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 71.12 MB

Projet de l'UE OPT7 (Apprentissage sur données structurées) du M2AIC (2018/2019) sur le challenge Kaggle Toxic Comment

Jupyter Notebook 99.47% Python 0.53%
toxic-comment-classification deep-learning pytorch

toxiccomment's Introduction

ToxicComment

Berrien Samuel, Biard David, Nour Nouredine, Vu-Thanh Trung

Description

Projet de l'UE Option 7 Apprentissage sur données structurées

Challenge Kaggle Toxic Comment

Structure du projet :

ToxicComment
    |-- data
    |    |-- read_data.py # Lecture csv
    |    |-- transform_data.py # Différente transformation des données
    |
    |-- model
    |    |-- conv_mode.py # Implémentation des modèle à convolution
    |    |-- recurrent_model.py # i=Implémentation du LSTM
    |
    |-- saved # Different model serializé avec pickle
    |    |-- ...
    |
    |-- utils
    |    |-- cuda.py # Fonction utiles pour CUDA
    |
    |-- live_prediction.ipynb # Pour la prédiction en direct de phrase de l'utilisateur
    |-- make_submission.ipynb # Création d'un fichier de soumission selon un modèle sauvegardé
    |-- plots.ipynb # Création des figures
    |-- toxic_comment.ipynb # Notebook principal d'entrainement

Les différents csv sont à placer dans un répertoire res situé à la racine du repertoire principal du projet :

$ # Move to ToxicComment root dir
$ cd /path/to/ToxicComment
$ # Create and move to res folder
$ mkdir res && cd res
$ # Download dataset
$ kaggle competitions download -c jigsaw-toxic-comment-classification-challenge
$ # Unzip all files
$ unzip "*.zip"

toxiccomment's People

Contributors

davidbrd avatar ipsedo avatar nchlt avatar

Watchers

 avatar  avatar  avatar  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.