Abstract
Question-Answering (QA) models are part of Natural Language Processing (NLP) field used for ensuring questions match the answers appropriately. QA consists of several steps, one of which is called Question Classification, which is to classify the context of communication. In this step, it categorizes group of questions based on what users need to know in order to combine answers within the same category and respond accurately. It helps saving us time to search for answers as well. In this paper, we present a question classification model for Thai Conversational Chatbot using Artificial Neural Network and Multilingual Bidirectional Encoder Representations from Transformer (BERT) models using BERT-base multilingual cased combined with Multilayer Perceptron (MLP). The method yields the highest accuracy of 92.57%, compared to the BERT-base multilingual cased combined with other classification models, including Support Vector Machine (SVM), Naive Bayes (NB), K-Nearest Neighbors (KNN) and Decision Trees (DTs) with the accuracy scores of 88.57%, 80.00%, 78.57% and 60.29%, respectively. In addition, we also compare the performance of our proposed BERT model with another well-known Thai word embedding model, called Thai2Vec, which also combines with other classification models including MLP, SVM, NB, KNN and DTs, and their results of accuracies are: 85.71%, 85.71%, 75.71%, 75.71% and 58.86%, respectively. From the experiments, the BERT model combined with MLP can achieve the highest performance in term of accuracy among other methods.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.