Instructions to use snowood1/ConfliBERT-cont-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use snowood1/ConfliBERT-cont-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="snowood1/ConfliBERT-cont-cased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("snowood1/ConfliBERT-cont-cased") model = AutoModelForMaskedLM.from_pretrained("snowood1/ConfliBERT-cont-cased") - Notebooks
- Google Colab
- Kaggle
ConfliBERT is a pre-trained language model for political conflict and violence. We provided four versions of ConfliBERT:
- ConfliBERT-scr-uncased: Pretraining from scratch with our own uncased vocabulary (preferred)
- ConfliBERT-scr-cased: Pretraining from scratch with our own cased vocabulary
- ConfliBERT-cont-uncased: Continual pretraining with original BERT's uncased vocabulary
- ConfliBERT-cont-cased: Continual pretraining with original BERT's cased vocabulary
See more details in https://github.com/eventdata/ConfliBERT/
- Downloads last month
- 19