relation: http://repository.upi.edu/137000/ title: IMPLEMENTASI FINE-TUNED MODEL LLAMA3 PADA HUGGING FACE UNTUK MENDETEKSI TEKS PROMOSI JUDI ONLINE creator: Muhammad Rafid Miftah Fadhil, - creator: Indira Syawanodya, - creator: Yulia Retnowati, - subject: L Education (General) subject: QA75 Electronic computers. Computer science subject: QA76 Computer software subject: T Technology (General) description: Judi online merupakan permasalahan serius di Indonesia karena dampak sosial dan ekonomi yang ditimbulkan, diperparah oleh kemudahan akses serta strategi promosi yang masif. Penelitian ini bertujuan untuk mengimplementasikan model Large Language Model (LLM) Llama 3.2 berbasis library Hugging Face untuk mendeteksi promosi judi online, serta menganalisis performanya tanpa dan dengan teknik optimasi. Metode yang digunakan mengacu pada Design Research Methodology (DRM), dimulai dari pengumpulan data komentar terkait promosi judi dari platform Kaggle. Data kemudian melalui tahap pre-processing, seperti case folding, pembersihan, penyaringan, dan validasi untuk memastikan kualitasnya. Model Llama 3.2 di fine-tune menggunakan pendekatan Parameter-Efficient Fine-Tuning (PEFT) dan Low-Rank Adaptation (LoRA). Evaluasi kinerja model dilakukan melalui Confusion Matrix dan Classification Report, mencakup metrik accuracy, precision, recall, dan F1-score. Hasil menunjukkan bahwa model tanpa optimizer menghasilkan akurasi 0,89. Dampak penerapan optimizer AdamW, akurasi meningkat menjadi 0,92 dengan peningkatan keseimbangan antara precision dan recall pada kedua kelas (judi dan non-judi). Peningkatan performa ini menunjukkan efektivitas penggunaan optimizer dalam meningkatkan proses pelatihan dan generalisasi model. Secara keseluruhan, studi ini menunjukkan bahwa Llama 3.2 mampu mendeteksi promosi judi online secara efektif dan dapat menjadi fondasi dalam pengembangan sistem deteksi konten ilegal. -------- Online gambling is a serious problem in Indonesia due to its social and economic impacts, exacerbated by easy access and massive promotional strategies. This study aims to implement the Large Language Model (LLM) Llama 3.2 based on the Hugging Face library to detect online gambling promotions and analyze its performance with and without optimization techniques. The method used refers to the Design Research Methodology (DRM), starting with collecting comment data related to gambling promotions from the Kaggle platform. The data then goes through preprocessing stages, such as case folding, cleaning, filtering, and validation to ensure its quality. The Llama 3.2 model was refined using the Parameter-Efficient Fine-Tuning (PEFT) and Low-Rank Adaptation (LoRA) approaches. Model performance evaluation was conducted through a Confusion Matrix and Classification Report, which includes metrics of accuracy, precision, recall, and F1-score. The results show that the model without an optimizer produces an accuracy of 0.89. The impact of implementing the AdamW optimizer increases the accuracy to 0.92 with an improved balance between precision and recall in both classes (gambling and non-gambling). This performance improvement demonstrates the effectiveness of using the optimizer in improving the training process and model generalization. Overall, this study demonstrates that Llama 3.2 is capable of effectively detecting online gambling promotions and can serve as a foundation for developing illegal content detection systems. date: 2025-08-21 type: Thesis type: NonPeerReviewed format: text language: id identifier: http://repository.upi.edu/137000/1/S_RPL_2107757_Title.pdf format: text language: id identifier: http://repository.upi.edu/137000/2/S_RPL_2107757_Chapter1.pdf format: text language: id identifier: http://repository.upi.edu/137000/3/S_RPL_2107757_Chapter2.pdf format: text language: id identifier: http://repository.upi.edu/137000/4/S_RPL_2107757_Chapter3.pdf format: text language: id identifier: http://repository.upi.edu/137000/5/S_RPL_2107757_Chapter4.pdf format: text language: id identifier: http://repository.upi.edu/137000/6/S_RPL_2107757_Chapter5.pdf format: text language: id identifier: http://repository.upi.edu/137000/7/S_RPL_2107757_Appendix.pdf identifier: Muhammad Rafid Miftah Fadhil, - and Indira Syawanodya, - and Yulia Retnowati, - (2025) IMPLEMENTASI FINE-TUNED MODEL LLAMA3 PADA HUGGING FACE UNTUK MENDETEKSI TEKS PROMOSI JUDI ONLINE. S1 thesis, Universitas Pendidikan Indonesia. relation: https://repository.upi.edu/