← Open Source
microsoft

NeuronBlocks

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

Model DevelopmentDomain-specific trainingPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.46k
Stars
191
Forks
+2
This week
11
Contributors
Created 2019-04-15 · Updated 2026-10-13 · #10282 today
Top developers
ljshouwoailaosangadolphk-yk

microsoft/NeuronBlocks is ranked 10,282 with 1,456 stars.

Same-category comparison

microsoft/NeuronBlocks is ranked 10,282 among these 8 peers; Walter0807/MotionBERT is ranked 10,283.

Same-category comparison
NameRankMetrics
pytorch/gloo10,271
Language:
C++
Stars:
1,459
Forks:
372
Description:
Collective communications library with various primitives for multi-machine training.
aeon-toolkit/aeon10,272
Language:
Python
Stars:
1,458
Forks:
355
Description:
A toolkit for time series machine learning and deep learning.
nerfstudio-project/nerfacc10,278
Language:
Python
Stars:
1,457
Forks:
121
Description:
A General NeRF Acceleration Toolbox in PyTorch.
zama-ai/concrete-ml10,279
Language:
Python
Stars:
1,457
Forks:
202
Description:
Concrete ML: Privacy Preserving ML framework using Fully Homomorphic Encryption (FHE), built on top of Concrete, with bindings to traditional ML frameworks.
Walter0807/MotionBERT10,283
Language:
Python
Stars:
1,455
Forks:
183
Description:
[ICCV 2023] PyTorch Implementation of "MotionBERT: A Unified Perspective on Learning Human Motion Representations".
abreheret/PixelAnnotationTool10,284
Language:
C++
Stars:
1,455
Forks:
308
Description:
Annotate quickly images.
xuannianz/EfficientDet10,291
Language:
Python
Stars:
1,452
Forks:
388
Description:
EfficientDet (Scalable and Efficient Object Detection) implementation in Keras and Tensorflow.
HuwCampbell/grenade10,296
Language:
Haskell
Stars:
1,450
Forks:
81
Description:
Deep Learning in Haskell.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryDomain-specific training
Stars1,456
Forks191
Contributors11
Created date2019-04-15
Updated date2026-10-13
Stars in 1 day0
Stars in 7 days2
Rank10,282
Previous rank10,290
Rank change8
7-day stars rank8,049
Previous 7-day stars rank8,089
7-day stars rank change40
Total stars rank8,292
Previous total stars rank8,283
Total stars rank change-9
CountryUSA
README summary

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

Frequently asked questions

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.

Nearby in the ranking
Similar items