Utilizing Transformers for Interactive Chatbot Development

Authors

  • Yichen Zhang Independent researcher, China

Keywords:

natural language processing, NLP, Chatbot, transformer model, tokenization

Abstract

Transformers, a novel architecture introduced by Vaswani et al. in "Attention is All You Need" (2017), have revolutionized natural language processing (NLP) by effectively using attention mechanisms to process and generate human language. This paper explores the implementation of a chatbot using the transformer model, specifically focusing on the practical aspects of tokenization, model selection, and generation of responses. The paper outlines the methods used, presents results from various model configurations, and provides an analysis of the chatbot's performance. Improvements and future directions are also discussed.

References

Hugging Face. (n.d.). Hugging Face Transformers Documentation. Retrieved from https://huggingface.co/transformers/

Wu, K., & Chen, J. (2023). Cargo Operations of Express Air. Engineering Advances, 3(4), 337-341.

Cao, J., Ku, D., Du, J., Ng, V., Wang, Y., & Dong, W. (2017). A Structurally Enhanced, Ergonomically and Human–Computer Interaction Improved Intelligent Seat’s System. Designs, 1(2), 11. https://doi.org/10.3390/designs1020011

Liu, S., Wu, K., Jiang, C., Huang, B., & Ma, D. (2023). Financial time-series forecasting: Towards synergizing performance and interpretability within a hybrid machine learning approach. arXiv preprint arXiv:2401.00534.

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. Advances in neural information processing systems, 30.

Wu, K., & Chi, K. (2023). Enhanced E-commerce Customer Engagement: A Comprehensive Three-Tiered Recommendation System. Journal of Knowledge Learning and Science Technology, 2(3), 348-359

Huang, X., Zhang, Z., Guo, F., Wang, X., Chi, K., & Wu, K. (2024). Research on Older Adults’ Interaction with E-Health Interface Based on Explainable Artificial Intelligence. In International Conference on Human-Computer Interaction (pp. 38-52). Springer Nature Switzerland Cham.

Liu, S., Yan, K., Qin, F., Wang, C., Ge, R., Zhang, K., Huang, J., Peng, Y., & Cao, J. (2024). Infrared Image Super-Resolution via Lightweight Information Split Network. arXiv preprint arXiv:2405.10561.

Wu, K. (2023). Creating panoramic images using ORB feature detection and RANSAC-based image alignment. Advances in Computer and Communication, 4(4), 220-224.

Jiang, H., Qin, F., Cao, J., Peng, Y., & Shao, Y. (2021). Recurrent Neural Network from Adder’s Perspective: Carry-Lookahead RNN. Neural Networks, 144, 297-306.

Wu, K. (2023). Creating panoramic images using ORB feature detection and RANSAC-based image alignment. Advances in Computer and Communication, 4(4), 220-224.

Lin, T., & Cao, J. (2020). Touch Interactive System Design with Intelligent Vase of Psychotherapy for Alzheimer’s Disease. Designs, 4(3), 28. https://doi.org/10.3390/designs4030028

Wu, K. (2024). Optimizing Diabetes Prediction with Machine Learning: Model Comparisons and Insights. Journal of Science & Technology, 5(4), 41-51.

Chen, Z., Ge, J., Zhan, H., Huang, S., & Wang, D. (2021). Pareto Self-Supervised Training for Few-Shot Learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (pp. 13663-13672)

Downloads

Published

05-08-2024

How to Cite

[1]
Y. Zhang, “Utilizing Transformers for Interactive Chatbot Development”, J. Computational Intel. & Robotics, vol. 4, no. 1, pp. 124–129, Aug. 2024.