Type: Package
Package: pangoling
Title: Access to Large Language Model Predictions
Version: 1.0.3
Authors@R: c(
    person("Bruno", "Nicenboim", , "b.nicenboim@tilburguniversity.edu", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-5176-3943")),
    person("Chris", "Emmerly", role = "ctb"),
    person("Giovanni", "Cassani", role = "ctb"),
    person("Lisa", "Levinson", role = "rev"),
    person("Utku", "Turk", role = "rev")
  )
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).
License: MIT + file LICENSE
URL: https://docs.ropensci.org/pangoling/,
        https://github.com/ropensci/pangoling
BugReports: https://github.com/ropensci/pangoling/issues
Depends: R (>= 4.1.0)
Imports: cachem, data.table, memoise, reticulate, rstudioapi, stats,
        tidyselect, tidytable (>= 0.7.2), utils
Suggests: brms, knitr, parallel, rmarkdown, spelling, testthat (>=
        3.0.0), tictoc, covr
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
LazyData: true
RoxygenNote: 7.3.1
StagedInstall: yes
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2025-04-04 17:48:15 UTC; bruno
Author: Bruno Nicenboim [aut, cre] (<https://orcid.org/0000-0002-5176-3943>),
  Chris Emmerly [ctb],
  Giovanni Cassani [ctb],
  Lisa Levinson [rev],
  Utku Turk [rev]
Maintainer: Bruno Nicenboim <b.nicenboim@tilburguniversity.edu>
Repository: CRAN
Date/Publication: 2025-04-07 17:00:02 UTC
Built: R 4.6.0; ; 2026-04-28 08:06:16 UTC; unix
