Package: conflibertR Title: Inference and Fine-Tuning with 'ConfliBERT' Conflict Text Models Version: 0.5.3 Authors@R: person("Shreyas", "Meher", email = "shreyasmeher@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-9656-4374")) Description: An interface to 'ConfliBERT', a pretrained language model for analyzing text about conflict and political violence (Hu et al. (2022) ). Provides functions for named entity recognition, binary and multilabel classification, and question answering, plus tools to fine-tune custom classifiers, compare several base model architectures, and run an interactive active-learning loop for efficiently labeling new data. Models are downloaded from 'Hugging Face' and run through the 'transformers' library for 'Python' via the 'reticulate' package. License: MIT + file LICENSE URL: https://github.com/shreyasmeher/conflibertR BugReports: https://github.com/shreyasmeher/conflibertR/issues Encoding: UTF-8 Language: en RoxygenNote: 7.3.2 SystemRequirements: Python (>= 3.8); the Python modules 'torch', 'transformers' (>= 4.40), 'accelerate', 'peft', 'scikit-learn' and 'numpy', installable via conflibert_install() Imports: cli, reticulate (>= 1.34), tibble Suggests: ggplot2, knitr, miniUI, rmarkdown, rstudioapi, shiny, testthat (>= 3.0.0) VignetteBuilder: knitr Config/testthat/edition: 3 NeedsCompilation: no Packaged: 2026-07-10 23:43:43 UTC; root Author: Shreyas Meher [aut, cre] (ORCID: ) Maintainer: Shreyas Meher Config/pak/sysreqs: python3 Repository: https://cran.r-universe.dev Date/Publication: 2026-07-10 20:40:09 UTC RemoteUrl: https://github.com/cran/conflibertR RemoteRef: HEAD RemoteSha: d595503529548718bc1848b1488a3f4222fe3cc7