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 18 Jul. 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

timeSeq  
Detecting Differentially Expressed Genes in Time Course RNA-Seq Data
A negative binomial mixed-effects (NBME) model to detect nonparallel differential expression(NPDE) ...
Download / Learn more Package Citations See dependency  
MSCMT  
Multivariate Synthetic Control Method Using Time Series
Three generalizations of the synthetic control method (which has already an implementation in packa ...
Download / Learn more Package Citations See dependency  
nricens  
NRI for Risk Prediction Models with Time to Event and Binary Response Data
Calculating the net reclassification improvement (NRI) for risk prediction models with time to event ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SSM  
Fit and Analyze Smooth Supersaturated Models
Creates an S4 class "SSM" and defines functions for fitting smooth supersaturated models, a polynomi ...
Download / Learn more Package Citations See dependency  
logistic4p  
Logistic Regression with Misclassification in Dependent Variables
Error in a binary dependent variable, also known as misclassification, has not drawn much attention ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

74,019

Author Associations

27,807

Publication Badges

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