作者
Shadi AlZu'bi, Ala Mughaid, Fatima Quiam, Samar Hendawi
发表日期
2024
期刊
Artificial Intelligence and Applications
卷号
2
期号
1
页码范围
28-37
简介
ChatGPT, an artificial intelligence (AI)-powered chatbot developed by OpenAI, has gained immense popularity since its public launch in November 2022. With its ability to write essays, emails, poems, and even computer code, it has become a useful tool for professionals in various fields. However, ChatGPT’s responses are not always rooted in reality and are instead generated by a Generative Adversarial Network (GAN). This paper aims to build a text classification model for a chatbot using Python. The model is trained on a dataset consisting of customer responses to a survey and their corresponding class labels. Many classifiers are trained and tested, such as naive Bayes, random forest, extra trees, and decision trees. The results show that the extra trees classifier performs the best with an accuracy of 90%. The system demonstrates the importance of text preprocessing and selecting appropriate classifiers for text classification tasks in building an effective chatbot. In this paper, we also explore the capabilities and limitations of ChatGPT and its alternatives in 2023. We present a comprehensive overview of the alternative’s performance. The work here concludes with a discussion of the future directions of large language models and their impact on society and technology.
引用总数
学术搜索中的文章
S AlZu'bi, A Mughaid, F Quiam, S Hendawi - Artificial Intelligence and Applications, 2024