April 3, 2017

Bag of Tricks for Efficient Text Classification

European Chapter of the Association for Computational Linguistics (EACL)

By: Armand Joulin, Edouard Grave, Piotr Bojanowski, Tomas Mikolov

Abstract

This paper explores a simple and efficient baseline for text classification. Our experiments show that our fast text classifier fastText is often on par with deep learning classifiers in terms of accuracy, and many orders of magnitude faster for training and evaluation. We can train fastText on more than one billion words in less than ten minutes using a standard multicore CPU, and classify half a million sentences among 312K classes in less than a minute.