harvardnlp/annotated-transformer

harvardnlp/annotated-transformer has 2,511 source lines of code out of 4,601 total lines across 6 files, counted with tokei from the master ref at commit debc9fd747bb on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-20 (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 language: Jupyter Notebooks 43.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-20 (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 language: Jupyter Notebooks 43.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving harvardnlp/annotated-transformer to commit debc9fd747bb, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

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.

LanguageFilesLinesCodeCommentsBlanks
Jupyter Notebooks118101085471254
Python121311085711335
TeX153931517054
Makefile14026113
Markdown16803731
Plain Text1130121

Top language: Jupyter Notebooks 43.2%. Generated on .

Counting rules and retention

harvardnlp/annotated-transformer: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

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

harvardnlp/annotated-transformer has 2,511 lines of code, plus 1,402 comment lines and 688 blank lines, for 4,601 total lines at commit debc9fd747bb on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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 November 20, 2026.

Play the growth animation for harvardnlp/annotated-transformer on this page — 2,511 code lines across 6 languages, counted by tokei.