
Text Classification with Open Source Models
Harnessing Large Language Models for Psychological Research
Felix Dietrich (JGU Mainz)
Daniel Possler (HMTM Hannover)
September 6, 2026
M to open the slide menu? to see all navigation shortcuts
Felix Dietrich

Daniel Possler
…and who are you? 😊
Participants…
Want to know more?
Possler, D., Dietrich, F., Scheper, J., Lammers, A., & Spatzenegger, A. (2026). Gebrauchsfertige, Open Source Large Language Models auf Hugging Face als Forschungsinfrastruktur für die standardisierte Inhaltsanalyse von Texten [Ready-to-use, open-source Large Language Models on Hugging Face as research infrastructure for standardized content analysis of text]. Publizistik. https://doi.org/10.1007/s11616-026-00942-w
| Time | Block |
|---|---|
| 8:00 – 8:15 | Welcome & introductions |
| 8:15 – 9:00 | Input I: text as data, LLMs, model types & Hugging Face |
| 9:00 – 9:30 | Code-Along: classification with encoder models |
| 9:30 – 10:00 | Exercise: classification with an encoder model |
| 10:00 – 10:15 | Break |
| 10:15 – 10:30 | Code-Along: classification with a generative decoder |
| 10:30 – 11:00 | Exercise: classification with a generative decoder |
| 11:00 – 11:15 | Input II: evaluation logic, manual coding & gold standards |
| 11:15 – 11:30 | Code-Along: evaluating classifications |
| 11:30 – 12:00 | Discussion, outlook & wrap-up |
We want to understand how people emotionally experienced the COVID-19 pandemic.
“It is very scary, especially because of the vulnerability of my family, but it can be overcome, however it is scary and annoying to see youths still going out with their friends and people underestimating the severity of the disease especially to vulnerable people. Not only this but some people lie and think it is made up or are too engrossed in the politics and don’t understand the normal people being affected by it, dying and being extremely subdued. However personally for me it is awful because of the regime and how difficult it is to adapt to living in isolation, not going out or seeing friends and family or loved ones, or being able to exercise properly or educate and the countless hours spent infront of a computer.”
(RW3D participant, UK, April 2020)
How can we analyze such texts at scale?
We’ll use the Real World Worry Waves Dataset (RW3D) (van der Vegt & Kleinberg, 2023).
Any Questions?
You can find all class materials at
https://llm-content-analysis.com
