conflibertR - Inference and Fine-Tuning with 'ConfliBERT' Conflict Text Models
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.