NeuronBlocks
NLP DNN Toolkit - Building Your NLP DNN Models Like Playing Lego.
microsoft/NeuronBlocks is ranked 10,282 with 1,456 stars.
microsoft/NeuronBlocks is ranked 10,282 among these 8 peers; Walter0807/MotionBERT is ranked 10,283.
| Name | Rank | Metrics |
|---|---|---|
| pytorch/gloo | 10,271 |
|
| aeon-toolkit/aeon | 10,272 |
|
| nerfstudio-project/nerfacc | 10,278 |
|
| zama-ai/concrete-ml | 10,279 |
|
| Walter0807/MotionBERT | 10,283 |
|
| abreheret/PixelAnnotationTool | 10,284 |
|
| xuannianz/EfficientDet | 10,291 |
|
| HuwCampbell/grenade | 10,296 |
|
| Parameter | Value |
|---|---|
| Language | Python |
| Category | Model Development |
| Subcategory | Domain-specific training |
| Stars | 1,456 |
| Forks | 191 |
| Contributors | 11 |
| Created date | 2019-04-15 |
| Updated date | 2026-10-13 |
| Stars in 1 day | 0 |
| Stars in 7 days | 2 |
| Rank | 10,282 |
| Previous rank | 10,290 |
| Rank change | 8 |
| 7-day stars rank | 8,049 |
| Previous 7-day stars rank | 8,089 |
| 7-day stars rank change | 40 |
| Total stars rank | 8,292 |
| Previous total stars rank | 8,283 |
| Total stars rank change | -9 |
| Country | USA |
The main goal of this toolkit is to minimize developing cost for NLP deep neural network model building, including both training and inference stages. NeuronBlocks consists of two major components: ***Block Zoo*** and ***Model Zoo***. In ***Block Zoo***, we provide commonly used neural network components as building blocks for model architecture design. In ***Model Zoo***, we provide a suite of NLP models for common NLP tasks, in the form of **JSON configuration** files. Language Supported English Chinese NLP Tasks Supported
Sentence Classification Sentiment Analysis Question Answering Matching Textual Entailment Slot tagging Machine Reading Comprehension Knowledge Distillation for Model Compression *More on-going* Toolkit Usage Users can either pick existing models (config files) in *Model Zoo* to start model training or create new models by leveraging neural network blocks in *Block Zoo* just like playing with Lego. Get Started in 60 Seconds Installation *Note: NeuronBlocks requires **Python 3. Install Python packages in requirements. Install PyTorch (*NeuronBlocks supports **PyTorch 0. Quick Start
Get started by trying the given examples. Both **Linux/Windows, GPU/CPU** are supported. For **Windows**, we suggest you to use PowerShell instead of CMD. *Tips: in the following instruction, PROJECTROOT denotes the root directory of this project. * For prediction, NeuronBlocks have two modes: **Interactive** and **Batch**. *Interactive Prediction Mode:* The interactive mode provides interactive interface, users can input case according to corresponding prompt message and get realtime prediction result from trained model, and input "exit" to exit interactive interface
. *Batch Prediction Mode:* For batched cases prediction, NeuronBlocks provides batch prediction mode which receives a cases file as input and write the prediction results in the prediction file. For more details, please refer to Tutorial. Who should consider using NeuronBlocks Engineers or researchers who face the following challenges when using neural network models to address NLP problems: Many frameworks to choose and high framework studying cost. It is difficult for engineers to understand the mathematical principles behind them. Model Code
optimization requires deep expertise. Model Platform Compatibility Requirement. It requires extra coding work for the model to run on different platforms, such as Linux/Windows, GPU/CPU. The advantages of leveraging NeuronBlocks for NLP neural network model training includes: ***Model Building***: for model building and parameter tuning, users only need to write simple JSON config files, which greatly minimize the effort of implementing new ideas. ***Model Sharing*** It is super easy to share models just through JSON files, instead of
nasty codes. For different models or tasks, our users only need to maintain one single centralized source code base. ***Code Reusability***: Common blocks can be easily shared across various models or tasks, reducing duplicate coding work. ***Platform Flexibility***: NeuronBlocks can run both on Linux and Windows machines, using both CPU and GPU. It also supports training on GPU platforms like Philly and PAI. ***Model Visualization***: A model visualizer is provided for visualization and configure correctness checking, which helps users to
visualize the model architecture easily during debugging. ***Extensibility***: NeuronBlocks is extensible, allowing users to contribute new blocks or contributing novel
How many stars and forks are recorded?
microsoft/NeuronBlocks has 1,456 stars and 191 forks.
What is the repository rank?
microsoft/NeuronBlocks is ranked 10,282.
What language and category are recorded?
microsoft/NeuronBlocks has 1,456 stars, uses Python and belongs to Model Development.
Which repository is closest in rank?
microsoft/NeuronBlocks is compared with Walter0807/MotionBERT, ranked 10,283 with 1,455 stars.