Giter Club home page Giter Club logo

lowsource-multiclass-classification's Introduction

Low Resource Multi-Class Text Classification

Multi-class sentiment classification is a popular problem in the real world with many valuable applications. However, ones usually face the challenge of limited resources to train data for these tasks, while the traditional approaches require task- specific modifications and training from scratch. As such, there are much research conducted last year starting to investigate transfer learning in Natural Language Processing (NLP). Recent work has shown that using a language model, which was pre-trained on a large general text corpus, and fine-tuning it with the target text data achieved the state-of-the-art results in many NLP tasks. In this work, I experimented this idea in the low resource settings, where getting labeled data for training is expensive, with classes imbalance to mimic the real world environment. This work compares the performance between 2 models: a Bidirectional LSTM model with GloVe embedding trained from scratch and a pre-trained language model BERT with finetuned classifier. Results show that the BERT + Finetuning model generally achieves better accuracy (lower error rate) even with a very small training sample set. The difference is more significant when the sample size increases.

The full report can be found here.

lowsource-multiclass-classification's People

Contributors

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