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 multicoreCPU, and classify half a million sentences among312K classes in less than a minute.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| emotion-recognition-in-conversation-on-cped | FastText | Accuracy of Sentiment: 48.62 Macro-F1 of Sentiment: 30.33 |
| sentiment-analysis-on-amazon-review-full | FastText | Accuracy: 60.2 |
| sentiment-analysis-on-amazon-review-polarity | FastText | Accuracy: 94.6 |
| sentiment-analysis-on-sogou-news | fastText, h=10, bigram | Accuracy: 96.8 |
| sentiment-analysis-on-yelp-binary | fastText, h=10, bigram | Error: 4.3 |
| sentiment-analysis-on-yelp-fine-grained | FastText | Error: 36.1 |
| text-classification-on-ag-news | fastText | Error: 7.5 |
| text-classification-on-dbpedia | FastText | Error: 1.4 |
| text-classification-on-yahoo-answers | FastText | Accuracy: 72.3 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.