Other packages > Find by keyword >

pangoling  

Access to Large Language Model Predictions
View on CRAN: Click here


Download and install pangoling package within the R console
Install from CRAN:
install.packages("pangoling")

Install from Github:
library("remotes")
install_github("cran/pangoling")

Install by package version:
library("remotes")
install_version("pangoling", "1.0.3")



Attach the package and use:
library("pangoling")
Maintained by
Bruno Nicenboim
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-04-07
Latest Update: 2025-04-07
Description:
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).
How to cite:
Bruno Nicenboim (2025). pangoling: Access to Large Language Model Predictions. R package version 1.0.3, https://cran.r-project.org/web/packages/pangoling. Accessed 05 Jun. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited pangoling R package
View pangoling citation profile
Other R packages that pangoling depends, imports, suggests or enhances
Complete documentation for pangoling
Functions, R codes and Examples using the pangoling R package
Full pangoling package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA