Research Article

Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification

Volume: 3 Number: 1 June 30, 2023
EN

Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification

Abstract

This study presents a pre-trained BERT model application on texts that are extracted from website URLs automatically to classify texts according to the industry. With the aim of doing so, the related dataset is first obtained from different kinds of websites by web scraping. Then, the dataset is cleaned and labeled with the relevant industries among 42 different categories. The pre-trained BERT model which was trained on 101.000 advertisement texts in one of our previous ad text classification studies is used to classify texts. Classification performance metrics are then used to evaluate the pre-trained BERT model on the test set and 0.98 average accuracy and 0.67 average F1 score for different 12 categories are obtained. The method can be used to test the compatibility of texts to be used in online advertising networks with the advertiser's industry. In this way, the suitability of the texts, which is an important component in determining the quality of online advertising, within the industry will be tested automatically.

Keywords

References

  1. [1] Desai, Vaibhava, and B. Vidyapeeth. "Digital marketing: A review." International Journal of Trend in Scientific Research and Development 5.5 (2019): 196-200.
  2. [2] Z, A. and Adali, E., “Opinion mining and sentiment analysis for contex-tual online-advertisement,” in 2016 IEEE 10th International Conference on Application of Information and Communication Technologies (AICT). IEEE, 2016, pp. 1–3.
  3. [3] “Reklam kalitesi hakkında - Google Ads Yardım,” https://support.google. com/google-ads/answer/156066?hl=tr&ref topic=10549746, May 2021.
  4. [4] Ş. Ozan and D. E. Taşar, "Auto-tagging of Short Conversational Sentences using Natural Language Processing Methods," 2021 29th Signal Processing and Communications Applications Conference (SIU), 2021, pp. 1-4, doi: 10.1109/SIU53274.2021.9477994
  5. [5] Rønningstad, E., “Targeted sentiment analysis for norwegian text,” 2020.
  6. [6] Özdil, U., Arslan, B., Taşar, D. E., Polat, G., & Ozan, Ş. (2021, September). Ad Text Classification with Bidirectional Encoder Representations. In 2021 6th International Conference on Computer Science and Engineering (UBMK) (pp. 169-173). IEEE.
  7. [7] Deng, L., & Yu, D. (2014). Deep Learning: Methods and Applications. Foundations and Trends in Signal Processing (Cilt 7, s. 197-387).
  8. [8] Ravì, D., Wong, C., Deligianni, F., Berthelot, M., Andreu-Perez, J., Lo, B., & Yang, G. Z. (2017). “Deep learning for health informatics”. IEEE journal of Biomedical and Health Informatics 21(1), 4-21.

Details

Primary Language

English

Subjects

Artificial Intelligence

Journal Section

Research Article

Publication Date

June 30, 2023

Submission Date

May 4, 2023

Acceptance Date

June 23, 2023

Published in Issue

Year 2023 Volume: 3 Number: 1

APA
Çepni, S., Toprak, A. G., Yatkınoğlu, A., Mercan, Ö. B., & Ozan, Ş. (2023). Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification. Journal of Artificial Intelligence and Data Science, 3(1), 27-35. https://izlik.org/JA39EW67FT
AMA
1.Çepni S, Toprak AG, Yatkınoğlu A, Mercan ÖB, Ozan Ş. Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification. Journal of Artificial Intelligence and Data Science. 2023;3(1):27-35. https://izlik.org/JA39EW67FT
Chicago
Çepni, Sercan, Amine Gonca Toprak, Aslı Yatkınoğlu, Öykü Berfin Mercan, and Şükrü Ozan. 2023. “Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification”. Journal of Artificial Intelligence and Data Science 3 (1): 27-35. https://izlik.org/JA39EW67FT.
EndNote
Çepni S, Toprak AG, Yatkınoğlu A, Mercan ÖB, Ozan Ş (June 1, 2023) Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification. Journal of Artificial Intelligence and Data Science 3 1 27–35.
IEEE
[1]S. Çepni, A. G. Toprak, A. Yatkınoğlu, Ö. B. Mercan, and Ş. Ozan, “Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification”, Journal of Artificial Intelligence and Data Science, vol. 3, no. 1, pp. 27–35, June 2023, [Online]. Available: https://izlik.org/JA39EW67FT
ISNAD
Çepni, Sercan - Toprak, Amine Gonca - Yatkınoğlu, Aslı - Mercan, Öykü Berfin - Ozan, Şükrü. “Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification”. Journal of Artificial Intelligence and Data Science 3/1 (June 1, 2023): 27-35. https://izlik.org/JA39EW67FT.
JAMA
1.Çepni S, Toprak AG, Yatkınoğlu A, Mercan ÖB, Ozan Ş. Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification. Journal of Artificial Intelligence and Data Science. 2023;3:27–35.
MLA
Çepni, Sercan, et al. “Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification”. Journal of Artificial Intelligence and Data Science, vol. 3, no. 1, June 2023, pp. 27-35, https://izlik.org/JA39EW67FT.
Vancouver
1.Sercan Çepni, Amine Gonca Toprak, Aslı Yatkınoğlu, Öykü Berfin Mercan, Şükrü Ozan. Performance Evaluation of a Pretrained BERT Model for Automatic Text Classification. Journal of Artificial Intelligence and Data Science [Internet]. 2023 Jun. 1;3(1):27-35. Available from: https://izlik.org/JA39EW67FT

All articles published by JAIDA are licensed under a Creative Commons Attribution 4.0 International License.

88x31.png