Treffer: Automatic Text Classification With Large Language Models: A Review of openai for Zero- and Few-Shot Classification.

Title:
Automatic Text Classification With Large Language Models: A Review of openai for Zero- and Few-Shot Classification.
Source:
Journal of Educational & Behavioral Statistics; Dec2025, Vol. 50 Issue 6, p1060-1082, 23p
Database:
Complementary Index

Weitere Informationen

While natural language documents, such as intervention transcripts and participant writing samples, can provide highly nuanced insights into educational and psychological constructs, researchers often find these materials difficult and expensive to analyze. Recent developments in machine learning, however, have allowed social scientists to harness the power of artificial intelligence for complex data categorization tasks. One approach, supervised learning, supports high-performance categorization yet still requires a large, hand-labeled training corpus, which can be costly. An alternative approach—zero- and few-shot classification with pretrained large language models—offers a cheaper, compelling alternative. This article considers the application of zero-shot and few-shot classification in educational research. We provide an overview of large language models, a step-by-step tutorial on using the Python openai package for zero-shot and few-shot classification, and a discussion of relevant research considerations for social scientists. [ABSTRACT FROM AUTHOR]

Copyright of Journal of Educational & Behavioral Statistics is the property of Sage Publications Inc. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)