Publication | Closed Access
Text Classification Model Based on Multi-head self-attention mechanism and BiGRU
18
Citations
9
References
2021
Year
EngineeringLarge Language ModelWord DependenceText MiningWord EmbeddingsNatural Language ProcessingInformation RetrievalComputational LinguisticsDocument ClassificationText ClassificationLanguage StudiesMachine TranslationCognitive ScienceAutomatic ClassificationNlp TaskDeep LearningText ProcessingText Classification ModelLinguistics
Deep learning promotes the development of natural language processing quickly. However, there are still many problems in natural language processing, such as semantic diversity and so on. To solve these problems, this paper proposes a text classification model based on multi-head self-attention mechanism and BiGRU. Firstly, the BERT model is used to generate input sequence of tokens for word embedding layer. Secondly, in order to capture the relation of word dependence in sentences, multi-head self-attention mechanism is used to calculate feature vector weights. And bidirectional GRU is used to extract feature and optimize classification model in order to improve calculate speed. The experiment shows that using this proposed model for text classification can improve the accuracy, recall and F1 score also were higher than traditional Benchmark algorithm, such as CNN, time consuming is lower than BERT model. And word embedding on BERT is better than word2vec.
| Year | Citations | |
|---|---|---|
Page 1
Page 1