appendix A Your NLP tools

 

The nlpia2 Python package contains all the code and data mentioned in this book (https://gitlab.com/tangibleai/nlpia2). You can find up-to-date installation instructions in its README file. After installing nlpia2, you will have all the Python packages you need for building state-of-the-art NLP pipelines:

  • SpaCy (spacy) —The NLP multitool
  • Hugging Face Transformers (transformers and huggingface-hub) —Open source, pretrained, deep learning models and datasets
  • PyTorch (torch) —For building and training neural networks
  • Jupyter Notebook (jupyter) —For presenting and explaining your NLP results
  • LangChain (langchain) —For prompting large language models

Once you have nlpia2 installed, and you’re ready to see how these tools are used in the real world, you will probably want to look at one or more of these open source projects that were built using the nlpia2 toolbox:

A.1 Installing nlpia2 in a virtual environment

A.2 Batteries included

A.3 Anaconda3

A.4 Installing nlpia2

A.5 An integrated development environment

A.6 Debian package manager

A.7 Macs

A.7.1 A Mac package manager

A.7.2 Some useful packages

A.8 Tune-ups

A.8.1 Ubuntu tune-ups

A.8.2 Mac tune-ups

A.9 Windows

A.9.1 Chocolatey

A.9.2 Get virtual

A.9.3 Installing nlpia2 in a Linux container