# rasbt/LLMs-from-scratch SLOC report

> rasbt/LLMs-from-scratch: 53,248 code lines at commit 0311973e2c97, counted with tokei-15.0.0 on 2026-11-09. Saved result 18eb75d915d42f3deef400709c2df845fcba38e19f4143d0c0add5270071c9bb.

rasbt/LLMs-from-scratch has 53,248 source lines of code out of 78,353 total lines across 293 files, counted with tokei from the main ref at commit 0311973e2c97 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving rasbt/LLMs-from-scratch to commit 0311973e2c97, 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

rasbt/LLMs-from-scratch: 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 medium-sized codebase by counted code lines. Code represents 68.0% of all lines, comments represent 16.6%, and the repository averages 182 code lines per file. Python accounts for 35.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 118 | 27,588 | 18,934 | 3,263 | 5,391 |
| Jupyter Notebooks | 65 | 28,291 | 17,271 | 6,464 | 4,556 |
| JSON | 16 | 16,815 | 16,815 | 0 | 0 |
| YAML | 1 | 167 | 125 | 15 | 27 |
| TOML | 2 | 123 | 103 | 5 | 15 |
| Markdown | 74 | 4,624 | 0 | 2,792 | 1,832 |
| Plain Text | 17 | 745 | 0 | 462 | 283 |

Top language: Python 35.6%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/rasbt/LLMs-from-scratch/commit/0311973e2c974b9e0223933103dc400c7a536179?reportId=18eb75d915d42f3deef400709c2df845fcba38e19f4143d0c0add5270071c9bb&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/rasbt/LLMs-from-scratch/commit/0311973e2c974b9e0223933103dc400c7a536179?reportId=18eb75d915d42f3deef400709c2df845fcba38e19f4143d0c0add5270071c9bb&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does rasbt/LLMs-from-scratch have?

rasbt/LLMs-from-scratch has 53,248 lines of code, plus 13,001 comment lines and 12,104 blank lines, for 78,353 total lines at commit 0311973e2c97 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the rasbt/LLMs-from-scratch line count measured?

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

### What commit was counted for rasbt/LLMs-from-scratch?

This OctoCounts report was generated from main at commit 0311973e2c97 on November 9, 2026.

## Similar repository reports

- [simonw/datasette](https://octocounts.com/github/simonw/datasette) — Python, 52,873 code lines
- [rachelos/we-mp-rss](https://octocounts.com/github/rachelos/we-mp-rss) — Python, 53,866 code lines
- [leosans-eng/orcamentos-reparos-construtivos](https://octocounts.com/github/leosans-eng/orcamentos-reparos-construtivos) — Python, 53,899 code lines
- [Infini-AI-Lab/hermit](https://octocounts.com/github/Infini-AI-Lab/hermit) — Python, 53,904 code lines
- [flaskbb/flaskbb](https://octocounts.com/github/flaskbb/flaskbb) — Python, 53,946 code lines
- [Saidgurbuz/deskforge](https://octocounts.com/github/Saidgurbuz/deskforge) — Python, 52,476 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)
