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 Roxygen: list(markdown = TRUE) 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 Config/pak/sysreqs: libpng-dev python3 Repository: https://shreyasmeher.r-universe.dev Date/Publication: 2026-07-03 06:08:33 UTC RemoteUrl: https://github.com/shreyasmeher/conflibertr RemoteRef: HEAD RemoteSha: 8bc8707d913e6d8112a382e4ba1c078718f2aa6b NeedsCompilation: no Packaged: 2026-07-11 08:06:06 UTC; root Author: Shreyas Meher [aut, cre] (ORCID: ) Maintainer: Shreyas Meher