# harvardnlp/annotated-transformer SLOC report

> As of 2026-07-15 (commit debc9fd747bb), harvardnlp/annotated-transformer contains 4,601 total lines: 2,511 code, 1,402 comments, 688 blank, across 6 files in 6 languages (top: Jupyter Notebooks 43.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving harvardnlp/annotated-transformer to commit debc9fd747bb, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a small codebase by counted code lines. Code represents 54.6% of all lines, comments represent 30.5%, and the repository averages 419 code lines per file. Jupyter Notebooks accounts for 43.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Jupyter Notebooks | 1 | 1,810 | 1,085 | 471 | 254 |
| Python | 1 | 2,131 | 1,085 | 711 | 335 |
| TeX | 1 | 539 | 315 | 170 | 54 |
| Makefile | 1 | 40 | 26 | 1 | 13 |
| Markdown | 1 | 68 | 0 | 37 | 31 |
| Plain Text | 1 | 13 | 0 | 12 | 1 |

Top language (Jupyter Notebooks 43.2%). Generated at 2026-07-15T04:36:40.690939381+00:00. Canonical report: https://octocounts.com/github/harvardnlp/annotated-transformer

## Report FAQ

### How many lines of code does harvardnlp/annotated-transformer have?

harvardnlp/annotated-transformer has 4,601 total lines, including 2,511 code lines, 1,402 comment lines, and 688 blank lines.

### How was the harvardnlp/annotated-transformer line count measured?

OctoCounts resolved the public GitHub repository to commit debc9fd747bb, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for harvardnlp/annotated-transformer?

This OctoCounts report was generated from master at commit debc9fd747bb on 2026-07-15T04:36:40.690939381+00:00.

## Similar repository reports

- [guptashrey/Content-Moderation-for-Social-Media](https://octocounts.com/github/guptashrey/Content-Moderation-for-Social-Media) — Jupyter Notebooks, 2,364 code lines
- [Visualize-ML/Linear-Algebra-Made-Easy---Learn-with-Python-and-Visualization](https://octocounts.com/github/Visualize-ML/Linear-Algebra-Made-Easy---Learn-with-Python-and-Visualization) — Jupyter Notebooks, 2,738 code lines
- [LC1332/Luotuo-Text-Embedding](https://octocounts.com/github/LC1332/Luotuo-Text-Embedding) — Jupyter Notebooks, 1,693 code lines
- [karpathy/nn-zero-to-hero](https://octocounts.com/github/karpathy/nn-zero-to-hero) — Jupyter Notebooks, 1,490 code lines
- [Daseinintheworld/seq2seq-encoder-decoder-rnn-with-luong-gpattention-buddhist-lexicon-inspired](https://octocounts.com/github/Daseinintheworld/seq2seq-encoder-decoder-rnn-with-luong-gpattention-buddhist-lexicon-inspired) — Jupyter Notebooks, 716 code lines
- [PKUFlyingPig/UCB-CS170](https://octocounts.com/github/PKUFlyingPig/UCB-CS170) — Jupyter Notebooks, 679 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
