# allenai/allennlp

An open-source NLP research library, built on PyTorch.

Repository: https://github.com/allenai/allennlp
Canonical: https://ross.abutalabs.com/products/allennlp
Homepage: http://www.allennlp.org
Language: Python
License: Apache-2.0
License Family: permissive
Topics: pytorch, nlp, natural-language-processing, deep-learning, data-science, python
Archived: true
Last push: 2022-11-22T23:28:35+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3397, "days_push": 1380, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11886, forks 2205 (observed 2026-08-28T04:10:50.398090+00:00)

## What it is
AllenNLP is an open-source NLP research library built on PyTorch for developing state-of-the-art deep learning models on linguistic tasks. It is now in maintenance mode with no new features or dependency upgrades, and support ended in December 2022.

## Use cases
- train text classification models in pytorch
- build named entity recognition models
- run semantic role labeling experiments
- prototype NLP research models with a config-driven trainer
- compute NLP evaluation metrics
- vectorize text with pretrained embeddings

## When to choose
- you are maintaining or reproducing an existing AllenNLP-based project
- you need its Fairness or Interpret components with no replacement
- you want a stable pinned environment for legacy NLP research code

## When to avoid
- you are starting a new NLP project - use Hugging Face transformers or flair instead
- you need actively maintained dependencies or new model architectures
- you want experiment management - use AI2 Tango or torchmetrics for its trainer/metrics roles

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, machine-learning, deep-learning
- domain: deep-learning, machine-learning, data-science
- platform: python
- tags: pytorch, research, text-classification, sequence-labeling, deprecated, natural-language-processing

## Member repositories
- allenai/allennlp (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:50.398090+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:15:14.116239+00:00, confidence not recorded.
  - readme: https://github.com/allenai/allennlp (fetched 2026-08-28T04:10:50.398090+00:00, sha e95a73313cab)
  - homepage: http://www.allennlp.org (fetched 2026-08-29T08:13:04.780770+00:00, sha 53e7700bfaa3)
  - site_page: https://allenai.org/about (fetched 2026-08-29T08:13:04.789987+00:00, sha 3ba69c8db9fc)
  - site_page: https://docs.allenai.org/ (fetched 2026-08-29T08:13:04.791869+00:00, sha 82d8481d566c)
  - registry_pypi: https://pypi.org/pypi/allennlp/json (fetched 2026-08-29T08:13:04.793349+00:00, sha ab36245ade34)
- Data as of 2026-08-30T08:39:29.467469+00:00.
