Leveraging Advanced Prompting Strategies in Llama-8b for Enhanced Hyperpartisan News Detection
| dc.contributor.author | Maggini, Michele Joshua | |
| dc.contributor.author | Marino, Erik Bran | |
| dc.contributor.author | Gamallo, Pablo | |
| dc.date.accessioned | 2025-06-19T12:20:04Z | |
| dc.date.available | 2025-06-19T12:20:04Z | |
| dc.date.issued | 2024-12 | |
| dc.description.abstract | This paper explores advanced prompting strategies for hyperpartisan news detection using the Llama3-8b-Instruct model, an open-source LLM developed by Meta AI. We evaluate zero-shot, few-shot, and Chain-of-Thought (CoT) techniques on two datasets: SemEval-2019 Task 4 and a headline-specific corpus. Collaborating with a political science expert, we incorporate domain-specific knowledge and structured reasoning steps into our prompts, particularly for the CoT approach. Our findings reveal that some prompting strategies work better than others, specifically on LLaMA, depending on the dataset and the task. This unexpected result challenges assumptions about ICL efficacy on classification tasks. We discuss the implications of these findings for In-Context Learning (ICL) in political text analysis and suggest directions for future research in leveraging large language models for nuanced content classification tasks. | por |
| dc.description.sponsorship | EUHORIZON2021 European Union's Horizon Europe research and innovation programme (Grant No.: 101073351), Marie Skłodowska-Curie, CITIUS, CIDEHUS | por |
| dc.identifier.authoremail | michelejoshua.maggini@usc.es | |
| dc.identifier.authoremail | erik.marino@uevora.pt | |
| dc.identifier.authoremail | pablo.gamallo@usc.es | |
| dc.identifier.citation | Maggini, M. J., Marino, E. B., & Otero, P. G. (2024). Leveraging Advanced Prompting Strategies in Llama-8b for Enhanced Hyperpartisan News Detection. In Proceedings of the Tenth Italian Conference on Computational Linguistics (CLiC-it 2024), Pisa, Italy. | por |
| dc.identifier.scientificarea | 283 | por |
| dc.identifier.uri | https://ceur-ws.org/Vol-3878/62_main_long.pdf | |
| dc.identifier.uri | http://hdl.handle.net/10174/38846 | |
| dc.language.iso | eng | por |
| dc.peerreviewed | yes | por |
| dc.publisher | CEUR Workshop Proceedings | por |
| dc.rights | openAccess | por |
| dc.subject | natural language processing | por |
| dc.subject | large language models | por |
| dc.subject | hyperpartisan detection | por |
| dc.subject | disinformation | por |
| dc.subject | prompt engineering | por |
| dc.subject | Chain-of-Thought | por |
| dc.subject | zero-shot learning | por |
| dc.subject | few-shot learning | por |
| dc.title | Leveraging Advanced Prompting Strategies in Llama-8b for Enhanced Hyperpartisan News Detection | por |
| dc.type | article | por |
| degois.publication.issue | 10 | por |
| degois.publication.location | Pisa, Italy | por |
| degois.publication.title | Tenth Italian Conference on Computational Linguistics (CLiC-it 2024) | por |