# tensorflow/models SLOC report

> 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.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 2,720 | 643,159 | 513,631 | 56,543 | 72,985 |
| JSON | 14 | 35,282 | 35,282 | 0 | 0 |
| YAML | 332 | 22,078 | 20,992 | 949 | 137 |
| C++ | 47 | 11,695 | 9,149 | 1,284 | 1,262 |
| Jupyter Notebooks | 57 | 11,761 | 8,075 | 1,889 | 1,797 |
| Bazel | 31 | 3,456 | 2,873 | 247 | 336 |
| Shell | 48 | 3,859 | 2,246 | 1,086 | 527 |
| Protocol Buffers | 47 | 4,638 | 1,771 | 1,919 | 948 |
| Sass | 15 | 1,850 | 1,354 | 240 | 256 |
| CSS | 4 | 1,618 | 1,233 | 206 | 179 |
| C Header | 27 | 1,962 | 923 | 730 | 309 |
| JavaScript | 10 | 736 | 618 | 33 | 85 |

Top language: Python 85.7%. Generated on November 3, 2026. Canonical report: https://octocounts.com/github/tensorflow/models

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/tensorflow/models/commit/19f287775ae950e22a9b5fb82727e72cff2e3664?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=e21fef4ad964df63c15c99fbdf08fada403f6e5ad622753e559258489c509766).

## Report FAQ

### How many lines of code does tensorflow/models have?

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.

### How was the tensorflow/models line count measured?

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.

### What commit was counted for tensorflow/models?

This OctoCounts report was generated from master at commit 19f287775ae9 on November 3, 2026.

## Similar repository reports

- [marketcalls/openalgo](https://octocounts.com/github/marketcalls/openalgo) — Python, 591,987 code lines
- [agno-agi/agno](https://octocounts.com/github/agno-agi/agno) — Python, 635,795 code lines
- [FuRongJun-1999/dsh-memory](https://octocounts.com/github/FuRongJun-1999/dsh-memory) — Python, 562,914 code lines
- [Imbad0202/academic-research-skills-codex](https://octocounts.com/github/Imbad0202/academic-research-skills-codex) — Python, 642,161 code lines
- [Dhravya/hermes-agent](https://octocounts.com/github/Dhravya/hermes-agent) — Python, 647,667 code lines
- [alexgreensh/token-optimizer](https://octocounts.com/github/alexgreensh/token-optimizer) — Python, 542,454 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
