Leveraging Advanced Prompting Strategies in Llama-8b for Enhanced Hyperpartisan News Detection

dc.contributor.authorMaggini, Michele Joshua
dc.contributor.authorMarino, Erik Bran
dc.contributor.authorGamallo, Pablo
dc.date.accessioned2025-06-19T12:20:04Z
dc.date.available2025-06-19T12:20:04Z
dc.date.issued2024-12
dc.description.abstractThis 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.sponsorshipEUHORIZON2021 European Union's Horizon Europe research and innovation programme (Grant No.: 101073351), Marie Skłodowska-Curie, CITIUS, CIDEHUSpor
dc.identifier.authoremailmichelejoshua.maggini@usc.es
dc.identifier.authoremailerik.marino@uevora.pt
dc.identifier.authoremailpablo.gamallo@usc.es
dc.identifier.citationMaggini, 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.scientificarea283por
dc.identifier.urihttps://ceur-ws.org/Vol-3878/62_main_long.pdf
dc.identifier.urihttp://hdl.handle.net/10174/38846
dc.language.isoengpor
dc.peerreviewedyespor
dc.publisherCEUR Workshop Proceedingspor
dc.rightsopenAccesspor
dc.subjectnatural language processingpor
dc.subjectlarge language modelspor
dc.subjecthyperpartisan detectionpor
dc.subjectdisinformationpor
dc.subjectprompt engineeringpor
dc.subjectChain-of-Thoughtpor
dc.subjectzero-shot learningpor
dc.subjectfew-shot learningpor
dc.titleLeveraging Advanced Prompting Strategies in Llama-8b for Enhanced Hyperpartisan News Detectionpor
dc.typearticlepor
degois.publication.issue10por
degois.publication.locationPisa, Italypor
degois.publication.titleTenth Italian Conference on Computational Linguistics (CLiC-it 2024)por

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
62_main_long.pdf
Size:
1.03 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
3.89 KB
Format:
Item-specific license agreed upon to submission
Description: