AllenNLP Library


AllenNLP is a complete platform for solving natural language processing tasks in PyTorch. We provide a broad collection of existing model implementations that are well documented and engineered to a high standard, making them a great foundation for further research.

AllenNLP offers a high-level configuration language to implement many common approaches in NLP, such as transformer experiments, multi-task training, vision+language tasks, fairness, and interpretability. This allows experimentation on a broad range of tasks purely through configuration, so you can focus on the important questions in your research.

The AllenNLP library has been a big success at AI2 and beyond and has been used across the NLP field for state-of-the-art research. However, as the field has been advancing fast, we have made the difficult decision to stop development on AllenNLP and instead focus on new initiatives that better fit current research.