Model Variants
Collection
This collection includes all core variants of the ConfliBERT models, showcasing different training strategies and casing preferences. • 1 item • Updated
How to use eventdata-utd/ConfliBERT-scr-uncased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="eventdata-utd/ConfliBERT-scr-uncased") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("eventdata-utd/ConfliBERT-scr-uncased")
model = AutoModelForMaskedLM.from_pretrained("eventdata-utd/ConfliBERT-scr-uncased")ConfliBERT is a pre-trained language model for political conflict and violence. We provided four versions of ConfliBERT:
See more details in https://github.com/eventdata/ConfliBERT/