Access to Large Language Model Predictions
Overview
Provides access to word predictability estimates using large language models (LLMs) based on 'transformer' architectures via integration with the 'Hugging Face' ecosystem https://huggingface.co/. The package interfaces with pre-trained neural networks and supports both causal/auto-regressive LLMs (e.g., 'GPT-2') and masked/bidirectional LLMs (e.g., 'BERT') to compute the probability of words, phrases, or tokens given their linguistic context. For details on GPT-2 and causal models, see Radford et al. (2019) https://storage.prod.researchhub.com/uploads/papers/2020/06/01/language-models.pdf, for details on BERT and masked models, see Devlin et al. (2019) doi:10.48550/arXiv.1810.04805. By enabling a straightforward estimation of word predictability, the package facilitates research in psycholinguistics, computational linguistics, and natural language processing (NLP).
- Internal changes to comply with CRAN requirements.
- HF_HOME is used now to store the models rather than TRANSFORMERS_CACHE
From NEWS.md in the release
Install
Health
WARNINGfor code/documentation mismatchesr-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
warning: Failed to inspect Python interpreter from search path at `/usr/sbin/pypy` cause: Can't use Python at `/usr/sbin/pypy` cause: Python executable does not support `-I` flag. Please use Python 3.6 or newer. warning: Failed to inspect Python interpreter from search path at `/usr/sbin/pypy` cause: Can't use Python at `/usr/sbin/pypy` cause: Python executable does not support `-I` flag. Please use Python 3.6 or newer. warning: Failed to inspect Python interpreter from search path at `/usr/sbin/pypy` cause: Can't use Python at `/usr/sbin/pypy` cause: Python executable does not support `-I` flag. Please use Python 3.6 or newer.
WARNINGfor missing documentation entriesr-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
warning: Failed to inspect Python interpreter from search path at `/usr/sbin/pypy` cause: Can't use Python at `/usr/sbin/pypy` cause: Python executable does not support `-I` flag. Please use Python 3.6 or newer. All user-level objects in a package should have documentation entries. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual.
NOTEwhether startup messages can be suppressedr-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
warning: Failed to inspect Python interpreter from search path at `/usr/sbin/pypy` cause: Can't use Python at `/usr/sbin/pypy` cause: Python executable does not support `-I` flag. Please use Python 3.6 or newer. It looks like this package (or a package it requires) has a startup message which cannot be suppressed: see ?packageStartupMessage.
- WARNING11 OK, 2 WARNINGNow
- WARNING12 OK, 1 WARNING2026-09-10
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK, 1 FAILURE2026-06-08
- WARNING12 OK, 1 WARNING2026-06-07
Show 3 earlier changesHide 3 earlier changes
- OK14 OK2026-04-09
- ERROR13 OK, 1 ERROR2026-03-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 26 (8 internal)includes a package overview page
- Examples that run
- 84%16 run in a plain check (12 of them under a condition) · 3 never run
- Exported functions with examples
- 94%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 0% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 97%
- Median days to close, 50 most recently updated closed issues
- 18
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
PRs over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/ropensci/pangoling on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-03-10
pkgdown site last built 2025-03-10, before release 1.0.3 (2025-04-07)
Show all practicesHide 3 practices
Dependencies
Installing pangoling adds 24 packages (16 with compiled code, 14 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, reticulate 1.6 MB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.3Latest2025-04-07 · current release
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-04-07
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 19 KB / 2 files
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pangoling")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.