# delip/PyTorchNLPBook

Code and data accompanying Natural Language Processing with PyTorch published by O'Reilly Media https://amzn.to/3JUgR2L

Repository: https://github.com/delip/PyTorchNLPBook
Canonical: https://ross.abutalabs.com/products/pytorchnlpbook
Language: Jupyter Notebook
License: Apache-2.0
License Family: permissive
Topics: natural-language-processing, nlp, pytorch-nlp, pytorch, pytorch-tutorial, deep-learning, deep-neural-networks, neural-networks, neural-machine-translation
Last push: 2023-03-12T18:45:11+00:00

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

## Adoption (not part of the score)
Stars 2057, forks 807 (observed 2026-08-28T04:06:09.904580+00:00)

## What it is
Companion repository of Jupyter Notebook code and data for the O'Reilly book 'Natural Language Processing with PyTorch' by Delip Rao and Brian McMahan. It walks through neural NLP fundamentals from perceptrons and embeddings to sequence-to-sequence models and neural machine translation.

## Use cases
- learn nlp with pytorch from scratch
- pytorch tutorial for text classification
- understand word embeddings and CBOW
- implement sequence-to-sequence models with attention
- build a neural machine translation example
- practice deep learning for sentiment analysis

## When to choose
- you are reading the book and want runnable code per chapter
- you want hands-on Jupyter notebooks covering classic NLP deep learning techniques
- you are learning PyTorch through NLP examples

## When to avoid
- you need production NLP pipelines or pretrained transformer models
- you want actively maintained code compatible with the latest PyTorch versions
- you need a library rather than educational example code

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: nlp, machine-learning, deep-learning
- domain: deep-learning, tutorials
- platform: python
- tags: pytorch, jupyter-notebooks, book-companion, neural-networks, sequence-modeling, word-embeddings, machine-translation, natural-language-processing

## Member repositories
- delip/PyTorchNLPBook (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:09.904580+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-30T02:57:10.590855+00:00, confidence not recorded.
  - readme: https://github.com/delip/PyTorchNLPBook (fetched 2026-08-28T04:06:09.904580+00:00, sha 53452df5513b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
