# microsoft/NeuronBlocks

NLP DNN Toolkit - Building Your NLP DNN Models Like Playing Lego

Repository: https://github.com/microsoft/NeuronBlocks
Canonical: https://ross.abutalabs.com/products/neuronblocks
Language: Python
License: MIT
License Family: permissive
Topics: question-answering, deep-learning, pytorch, natural-language-processing, text-classification, artificial-intelligence, dnn, qna, text-matching, knowledge-distillation, model-compression, sequence-labeling
Last push: 2023-07-22T03:07:55+00:00

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

## Adoption (not part of the score)
Stars 1452, forks 192 (observed 2026-08-28T04:04:46.145754+00:00)

## What it is
NeuronBlocks is an NLP deep learning modeling toolkit from Microsoft that lets users build end-to-end neural network training and inference pipelines for NLP tasks using composable blocks and JSON configuration files. It includes a Block Zoo of reusable neural components and a Model Zoo of prebuilt models for tasks like classification, sequence labeling, and question answering matching.

## Use cases
- build nlp deep learning models without writing code
- train a text classifier with  config
- do sequence labeling like slot tagging
- train a question answering matching model
- compress models via knowledge distillation
- prototype neural architectures from reusable blocks

## When to choose
- you want config-driven NLP model training in PyTorch
- you need prebuilt models for common NLP tasks like classification or slot tagging
- you want to experiment with model architectures by composing blocks

## When to avoid
- you need state-of-the-art transformer fine-tuning with modern ecosystems like Hugging Face
- you require active community support or frequent updates
- you work outside NLP or need non-PyTorch frameworks

## Facets
- artifact type: framework
- maturity: maintenance
- function: machine-learning, deep-learning, nlp, llm-training
- domain: deep-learning, machine-learning
- platform: python, windows, cross-platform
- tags: pytorch, model-zoo, block-zoo, -configuration, knowledge-distillation, model-compression, sequence-labeling, text-classification, question-answering, natural-language-processing, linux

## Member repositories
- microsoft/NeuronBlocks (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:46.145754+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-30T04:35:49.011071+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/NeuronBlocks (fetched 2026-08-28T04:04:46.145754+00:00, sha 7dc552303475)
- Data as of 2026-08-30T08:39:29.467469+00:00.
