tensorflow/models has 598,999 source lines of code out of 854,336 total lines across 3,630 files, counted with tokei from the master ref at commit 19f287775ae9 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-03 (commit 19f287775ae9), tensorflow/models contains 854,336 total lines: 598,999 code, 171,519 comments, 83,818 blank, across 3,630 files in 22 languages (top language: Python 85.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving tensorflow/models to commit 19f287775ae9, 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.
This is a large codebase by counted code lines. Code represents 70.1% of all lines, comments represent 20.1%, and the repository averages 165 code lines per file. Python accounts for 85.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 2720 | 643159 | 513631 | 56543 | 72985 |
| JSON | 14 | 35282 | 35282 | 0 | 0 |
| YAML | 332 | 22078 | 20992 | 949 | 137 |
| C++ | 47 | 11695 | 9149 | 1284 | 1262 |
| Jupyter Notebooks | 57 | 11761 | 8075 | 1889 | 1797 |
| Bazel | 31 | 3456 | 2873 | 247 | 336 |
| Shell | 48 | 3859 | 2246 | 1086 | 527 |
| Protocol Buffers | 47 | 4638 | 1771 | 1919 | 948 |
| Sass | 15 | 1850 | 1354 | 240 | 256 |
| CSS | 4 | 1618 | 1233 | 206 | 179 |
| C Header | 27 | 1962 | 923 | 730 | 309 |
| JavaScript | 10 | 736 | 618 | 33 | 85 |
Top language: Python 85.7%. Generated on .
tensorflow/models: 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.
tensorflow/models has 598,999 lines of code, plus 171,519 comment lines and 83,818 blank lines, for 854,336 total lines at commit 19f287775ae9 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 19f287775ae9, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 19f287775ae9 on November 3, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for tensorflow/models on this page — 598,999 code lines across 22 languages, counted by tokei.