# rasbt/LLMs-from-scratch SLOC report

> As of 2026-09-16 (commit 46b020233ec5), rasbt/LLMs-from-scratch contains 77,386 total lines: 52,545 code, 12,919 comments, 11,922 blank, across 286 files in 7 languages (top: Python 34.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

rasbt/LLMs-from-scratch has 52,545 source lines of code out of 77,386 total lines across 286 files, counted from the 46b020233ec5504a85ccc067197b43e12965a442 ref at commit 46b020233ec5 by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving rasbt/LLMs-from-scratch to commit 46b020233ec5, 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 medium-sized codebase by counted code lines. Code represents 67.9% of all lines, comments represent 16.7%, and the repository averages 184 code lines per file. Python accounts for 34.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 113 | 26,779 | 18,313 | 3,215 | 5,251 |
| Jupyter Notebooks | 64 | 28,147 | 17,189 | 6,440 | 4,518 |
| JSON | 16 | 16,815 | 16,815 | 0 | 0 |
| YAML | 1 | 167 | 125 | 15 | 27 |
| TOML | 2 | 121 | 103 | 3 | 15 |
| Markdown | 73 | 4,612 | 0 | 2,784 | 1,828 |
| Plain Text | 17 | 745 | 0 | 462 | 283 |

Top language (Python 34.9%). Generated at 2026-09-16T15:30:30.833160113+00:00. Canonical report: https://octocounts.com/github/rasbt/LLMs-from-scratch

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/rasbt/LLMs-from-scratch/commit/46b020233ec5504a85ccc067197b43e12965a442?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).

## Report FAQ

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

rasbt/LLMs-from-scratch has 77,386 total lines, including 52,545 code lines, 12,919 comment lines, and 11,922 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 46b020233ec5, 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 46b020233ec5504a85ccc067197b43e12965a442 at commit 46b020233ec5 on 2026-09-16T15:30:30.833160113+00:00.

## Similar repository reports

- [rachelos/we-mp-rss](https://octocounts.com/github/rachelos/we-mp-rss) — Python, 53,292 code lines
- [HKUDS/OpenHarness](https://octocounts.com/github/HKUDS/OpenHarness) — Python, 54,162 code lines
- [EveryInc/compound-engineering-plugin](https://octocounts.com/github/EveryInc/compound-engineering-plugin) — Python, 50,741 code lines
- [Lightning-AI/pytorch-lightning](https://octocounts.com/github/Lightning-AI/pytorch-lightning) — Python, 50,462 code lines
- [mvanhorn/last30days-skill](https://octocounts.com/github/mvanhorn/last30days-skill) — Python, 54,963 code lines
- [ValueCell-ai/valuecell](https://octocounts.com/github/ValueCell-ai/valuecell) — Python, 55,081 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)
- [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)
