Skip to main content
TR EN

MSc.Thesis Defense:Ali Najafi

Developing Turkish Language Models on Social Media

 

 

Ali Najafi

Computer Science and Engineering, MSc. Thesis, 2024

 

Thesis Jury

Asst. Prof. Onur Varol (Thesis Advisor),

 Assoc. Prof. Öznur Taştan , Assoc. Prof. Hamid Akın Ünver

 

Date & Time: 23th July, 2024 – 2 PM

Place: FASS G043

Keywords: TurkishBERTweet, Sentiment Analysis, HateSpeech Detection, ChatGPT, Special Tokenizer

 

Abstract

 

Turkish is one of the most spoken languages in the world; however, it is still among the low-resource languages. Wide us of this language on social media platforms such as Twitter, Instagram, or Tiktok and strategic position of the country in the world politics makes it appealing for the social network researchers and industry. To address this need, we introduce TurkishBERTweet, the first large-scale pre-trained language model for Turkish social media built using over 894 million Turkish tweets. The model shares the same architecture as RoBERTa-base model with smaller input length, making TurkishBERTweet lighter than the most used model, called BERTurk, and can have significantly lower inference time. We trained our model using the same approach for RoBERTa model and evaluated on two tasks: Sentiment Classification and Hate Speech Detection. We demonstrate that TurkishBERTweet outperforms the other available alternatives on generalizability and its lower inference time gives significant advantage to process large-scale datasets. We also show custom preprocessors for social media can acquire information from platform specific entities. We also conduct comparison with the commercial solutions like OpenAI and Gemini, and other available Turkish LLMs in terms of cost and performance to demonstrate TurkishBERTweet is scalable and cost-effective.