← all repositories
microsoft/nlp-recipes

An NLP recipe book that starts with 'order takeout'

It accelerates custom NLP development for data scientists who have already outgrown Azure’s pre-built cognitive services.

nlp-recipes
Not currently ranked — collecting fresh signals.
star history

What it does

The repository bundles Jupyter notebooks and Python utilities for common NLP scenarios—text classification, named entity recognition, summarization, question answering, and more—built around pretrained transformer models like BERT and RoBERTa. It wraps these examples in Azure Machine Learning service integration for training, experiment tracking, and deployment. The authors explicitly position the code as a fallback: they nudge you toward Azure’s pre-built Text Analytics, QnA Maker, and Language Understanding APIs before you ever touch a notebook.

The interesting bit

The most unusual ingredient is its candor: the README explicitly recommends Azure’s pre-built cognitive services before you ever consider the custom code inside. When you do need bespoke models, the project channels Emily Bender’s multilingual principles, though the scenario coverage is still heavily English-weighted outside of text classification.

Key highlights

  • Covers eight core NLP scenarios, from entailment to aspect-based sentiment analysis, with model options ranging from BERT and XLNet to BiDAF and fastText.
  • Integrates tightly with Azure Machine Learning for distributed training, hyperparameter tuning, AutoML, and deployment to Kubernetes or Container Instances.
  • Leverages the Hugging Face transformers package for loading and fine-tuning pretrained models across most tasks.
  • Provides multilingual text classification examples in nine languages, including Hindi, Arabic, and Japanese, while using Bender’s rules as a guiding principle.
  • Ships as solution accelerators—source-only notebooks and utility functions intended for real-world customer engagements rather than a standalone framework.

Caveats

  • The language support is lopsided: while the authors cite Emily Bender’s principles and offer nine languages for text classification, the remaining scenarios—NER, summarization, QA, and others—are English-only per the scenario table.
  • The Azure Machine Learning integration is deep enough that many notebooks assume cloud infrastructure, an Azure subscription, and potentially additional Azure services referenced only inside individual notebooks.

Verdict

Worth bookmarking if you are a data scientist or ML engineer already embedded in the Azure ecosystem and facing NLP tasks that off-the-shelf APIs cannot handle. Skip it if you want a framework-agnostic, fully multilingual toolkit or if you are trying to avoid cloud vendor scaffolding.

Frequently asked

What is microsoft/nlp-recipes?
It accelerates custom NLP development for data scientists who have already outgrown Azure’s pre-built cognitive services.
Is nlp-recipes open source?
Yes — microsoft/nlp-recipes is open source, released under the MIT license.
What language is nlp-recipes written in?
microsoft/nlp-recipes is primarily written in Python.
How popular is nlp-recipes?
microsoft/nlp-recipes has 6.4k stars on GitHub.
Where can I find nlp-recipes?
microsoft/nlp-recipes is on GitHub at https://github.com/microsoft/nlp-recipes.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.