Open-source LLMs for text annotation
A Practical Guide for Model Setting and Fine-Tuning
Datos Bibliográficos
| ID | 7158796 |
|---|---|
| Autores | Meysam Alizadeh (0000-0001-6696-6471, University of Zurich, autor de correspondencia), Mael Kubli (0000-0002-5592-9648, University of Zurich), Zeynab Samei (0000-0002-6802-5090, Institute for Research in Fundamental Sciences), Shirin Dehghani (Allameh Tabataba'i University), Mohammadmasiha Zahedivafa (Iran University of Science and Technology), Juan Diego Bermeo (0009-0000-6874-4848, University of Zurich), Maria Korobeynikova (University of Zurich), Fabrizio Gilardi (0000-0002-0635-3048, University of Zurich) |
| Año | 2025 |
| Volumen | 8 |
| Número | 1 |
| Páginas | 17-17 |
| Fecha de publicación | 2025-02-01 |
| Peer Reviewed | Sí |
| Open Access | Sí |
| Tipo | ARTICLE |
| Revista | Journal of Computational Social Science (JOURNAL) |
| Identificadores de la revista | ISSN: 2432-2725 • E-ISSN: 2432-2717 |
| Editorial | Springer Science and Business Media LLC (PUBLISHER) |
| DOI | 10.1007/s42001-024-00345-9 |
| PMID | 39712076 |
| OpenAlex | W4405552797 |
| Idioma | EN |
| Citas recibidas | 13 |
| Referencias citadas | 22 |
This paper studies the performance of open-source Large Language Models (LLMs) in text classification tasks typical for political science research. By examining tasks like stance, topic, and relevance classification, we aim to guide scholars in making informed decisions about their use of LLMs for text analysis and to establish a baseline performance benchmark that demonstrates the models’ effectiveness. Specifically, we conduct an assessment of both zero-shot and fine-tuned LLMs across a range of text annotation tasks using news articles and tweets datasets. Our analysis shows that fine-tuning improves the performance of open-source LLMs, allowing them to match or even surpass zero-shot GPT $$-$$ - 3.5 and GPT-4, though still lagging behind fine-tuned GPT $$-$$ - 3.5. We further establish that fine-tuning is preferable to few-shot training with a relatively modest quantity of annotated text. Our findings show that fine-tuned open-source LLMs can be effectively deployed in a broad spectrum of text annotation applications. We provide a Python notebook facilitating the application of LLMs in text annotation for other researchers
Annotation · Cartography · Geography · Open source · Computational and Text Analysis Methods · Computer Science · Natural Language Processing Techniques · Topic Modeling · Artificial Intelligence
How central bank independence shapes monetary policy communication
Representation of environmental issues
Revisiting business associations in trade politics
Introducing Halc
Measuring partisan community dynamics
Prebunking false information in the wild
How backsliding government parties defend democratic backsliding in the European Parliament
Navigating Ambiguities
Stay Tuned
Improving hate speech detection with large language models
Advancing AI-Assisted Policy-Text Analysis
Public perspectives on food date labeling
Updating 'The Future of Coding
ChatGPT
Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead
Pre-train, Prompt, and Predict
ChatGPT
ChatGPT outperforms crowd workers for text-annotation tasks
How Negative Media Coverage Impacts Platform Governance
Automated Text Classification of News Articles
Can Large Language Models Transform Computational Social Science
| Obras citantes distintas | 13 |
|---|---|
| Citas por año | 13 |
| Intervalo de citas | 2025 - 2026 (2) |
| Velocidad de citación | current |
| Altamente citado | No |
| Tipos de cita | Neutras: 11 |