The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
An interface to 'ConfliBERT', a pretrained language model for analyzing text about conflict and political violence (Hu et al. (2022) <doi:10.18653/v1/2022.naacl-main.400>). 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.
| Version: | 0.5.3 |
| Imports: | cli, reticulate (≥ 1.34), tibble |
| Suggests: | ggplot2, knitr, miniUI, rmarkdown, rstudioapi, shiny, testthat (≥ 3.0.0) |
| Published: | 2026-07-10 |
| DOI: | 10.32614/CRAN.package.conflibertR |
| Author: | Shreyas Meher |
| Maintainer: | Shreyas Meher <shreyasmeher at gmail.com> |
| BugReports: | https://github.com/shreyasmeher/conflibertR/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/shreyasmeher/conflibertR |
| NeedsCompilation: | no |
| SystemRequirements: | Python (>= 3.8); the Python modules 'torch', 'transformers' (>= 4.40), 'accelerate', 'peft', 'scikit-learn' and 'numpy', installable via conflibert_install() |
| Language: | en |
| Citation: | conflibertR citation info |
| Materials: | README, NEWS |
| CRAN checks: | conflibertR results |
| Reference manual: | conflibertR.html , conflibertR.pdf |
| Vignettes: |
Active Learning with conflibertR (source, R code) Getting Started with conflibertR (source, R code) |
| Package source: | conflibertR_0.5.3.tar.gz |
| Windows binaries: | r-devel: conflibertR_0.5.3.zip, r-release: conflibertR_0.5.3.zip, r-oldrel: conflibertR_0.5.3.zip |
| macOS binaries: | r-release (arm64): conflibertR_0.5.3.tgz, r-oldrel (arm64): conflibertR_0.5.3.tgz, r-release (x86_64): conflibertR_0.5.3.tgz, r-oldrel (x86_64): conflibertR_0.5.3.tgz |
Please use the canonical form https://CRAN.R-project.org/package=conflibertR to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.