Published March 27, 2026
| Version 2026.03.27
Other
Open
Local Large Language Models in R with Ollama
Authors/Creators
- 1. The Language Technology and Data Analysis Laboratory (LADAL), The University of Queensland, Australia
Description
This tutorial introduces the use of local large language models (LLMs) in R via the Ollama platform and the ollamar package, covering installation and setup, the generate() and chat() functions, and prompt engineering for text analysis tasks including summarisation, classification, and question answering. It is aimed at researchers in linguistics and digital humanities who want to apply LLMs to their data without sending sensitive information to external APIs.
This tutorial is part of the Language Technology and Data Analysis Laboratory (LADAL), a free, open-access research infrastructure at the University of Queensland. LADAL provides tutorials, tools, and courses for researchers working with language data. All materials are freely available at https://ladal.edu.au and are part of the Language Data Commons of Australia (LDaCA), funded by ARDC and NCRIS.
Files
Files
(648.1 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:63055c57748cf4078118c360693057e9
|
648.1 kB | Download |
Additional details
Related works
- Is new version of
- Other: https://slcladal.github.io/ollamar.html (URL)
- Is part of
- Other: https://ladal.edu.au (URL)
- Other: https://www.ldaca.edu.au (URL)
- Is supplement to
- Other: https://ladal.edu.au/tutorials/ollamar/ollamar.html (URL)
- Software: https://github.com/SLCLADAL/ladal (URL)