Giter Site home page Giter Site logo

deeptextclassifier's Introduction

Method

1-EMNLP2014 Convolutional Neural Networks for Sentence Classification

2-AAAI2015 Recurrent Convolutional Neural Networks for Text Classification

3-NAACL2016 Hierarchical Attention Networks for Document Classification

4-ICLR2017 A Structured Self-attentive Sentence Embedding

Experiments

2D - viewer

can be find in folder view

Question Classification (QC 2002)

http://cogcomp.org/Data/QA/QC/

type objective average length class train/test Lan
sentence question types 10 6 15452/500 English

kim cnn training

cnn

Epoch 2:
    cost: 0.00132063299802
    train acc: 0.989860950174
    dev acc: 0.974

GRU training

gru

Epoch 1:
    cost: 0.000869356350728
    train acc: 0.992178447277
    dev acc: 0.984

GRU-CNN training

gru-cnn

Epoch 3:
    train cost: 0.000631529912567
    train acc: 0.993626882966
    dev acc: 0.984

RCNN training

rcnn

Epoch 1:
    train cost: 0.00179642121795
    train acc: 0.980011587486
    dev acc: 0.98
Epoch 2:
    train cost: 0.000787947041509
    train acc: 0.992757821553
    dev acc: 0.982
Epoch 3:
    train cost: 0.000631529912567
    train acc: 0.993626882966
    dev acc: 0.984

RNN-ATT training

rnn-att

Epoch 1:
    train cost: 0.00179642121795
    train acc: 0.980011587486
    dev acc: 0.98
Epoch 2:
    train cost: 0.000787947041509
    train acc: 0.992757821553
    dev acc: 0.982
Epoch 3:
    train cost: 0.000631529912567
    train acc: 0.993626882966
    dev acc: 0.984

Structured Self-attentive training

rnn-att

Epoch 1:
    train cost: 0.179252121705, acc: 0.960892236385
    dev acc: 0.968
Epoch 2:
    train cost: 0.174375187066, acc: 0.985225955968
    dev acc: 0.972
....
....
Epoch 8:
    train cost: 0.172080848612, acc: 0.985515643105
    dev acc: 0.972

GRU with Center Loss

gru-center-loss

Epoch 0: train cost: 0.00327359643783, acc: 0.98348783314
Epoch 0: test acc: 0.974
Epoch 1: train cost: 0.00208708796292, acc: 0.991888760139
Epoch 1: test acc: 0.98
Epoch 2: train cost: 0.00197653938085, acc: 0.99449594438
Epoch 2: test acc: 0.976
Epoch 3: train cost: 0.00187900724474, acc: 0.996234067207
Epoch 3: test acc: 0.978

Center Divide

center-divide

Epoch 0: train cost: 0.00184123501496, acc: 0.982908458864
Epoch 0: test acc: 0.974
Epoch 1: train cost: 0.000830719525279, acc: 0.991888760139
Epoch 1: test acc: 0.974
Epoch 2: train cost: 0.000683305005285, acc: 0.993047508691
Epoch 2: test acc: 0.978
Epoch 3: train cost: 0.000309743383767, acc: 0.997392815759
Epoch 3: test acc: 0.982
Epoch 4: train cost: 0.000337060144333, acc: 0.995654692932
Epoch 4: test acc: 0.986

NLPCC 2017 News headline Classification

https://github.com/FudanNLP/nlpcc2017_news_headline_categorization

type objective average length class train/dev/test Lan
sentence news headline 10 6 0/0/0 Chinese

deeptextclassifier's People

Contributors

wwmmqq avatar

Watchers

James Cloos 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.