# unslothai/unsloth SLOC report

> unslothai/unsloth: 1,718,819 code lines at commit 1022af144aaf, counted with tokei-15.0.0 on 2026-11-16. Saved result 96d0024ac6d5b109e2f117924ba26e15a8708953356cb31b92a754062dff1eff.

unslothai/unsloth has 1,718,819 source lines of code out of 1,986,869 total lines across 4,195 files, counted with tokei from the main ref at commit 1022af144aaf on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving unslothai/unsloth to commit 1022af144aaf, 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

unslothai/unsloth: 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 very large codebase by counted code lines. Code represents 86.5% of all lines, comments represent 5.6%, and the repository averages 410 code lines per file. Python accounts for 53.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 1,355 | 1,088,878 | 921,659 | 48,587 | 118,632 |
| TypeScript | 1,690 | 427,323 | 391,723 | 16,270 | 19,330 |
| TSX | 776 | 286,478 | 266,706 | 8,520 | 11,252 |
| Rust | 55 | 52,953 | 48,253 | 891 | 3,809 |
| JSON | 52 | 28,442 | 28,435 | 0 | 7 |
| PowerShell | 5 | 24,982 | 21,881 | 2,270 | 831 |
| Shell | 30 | 21,351 | 18,023 | 2,136 | 1,192 |
| CSS | 7 | 10,044 | 8,286 | 894 | 864 |
| YAML | 88 | 6,432 | 5,991 | 89 | 352 |
| JavaScript | 14 | 4,314 | 3,961 | 95 | 258 |
| TOML | 4 | 1,874 | 1,721 | 66 | 87 |
| Jinja2 | 2 | 756 | 713 | 14 | 29 |
| SVG | 31 | 493 | 489 | 4 | 0 |
| HTML | 27 | 441 | 436 | 3 | 2 |
| Dockerfile | 1 | 651 | 346 | 272 | 33 |
| Autoconf | 8 | 217 | 138 | 55 | 24 |
| Batch | 1 | 42 | 38 | 2 | 2 |
| XML | 1 | 22 | 20 | 2 | 0 |
| Jupyter Notebooks | 1 | 0 | 0 | 0 | 0 |
| Markdown | 24 | 3,091 | 0 | 2,388 | 703 |
| Plain Text | 23 | 28,085 | 0 | 28,052 | 33 |

Top language: Python 53.6%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/unslothai/unsloth/commit/1022af144aaf2c3f8866e7e1941b132c4be8536f?reportId=96d0024ac6d5b109e2f117924ba26e15a8708953356cb31b92a754062dff1eff&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/unslothai/unsloth/commit/1022af144aaf2c3f8866e7e1941b132c4be8536f?reportId=96d0024ac6d5b109e2f117924ba26e15a8708953356cb31b92a754062dff1eff&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 unslothai/unsloth have?

unslothai/unsloth has 1,718,819 lines of code, plus 110,610 comment lines and 157,440 blank lines, for 1,986,869 total lines at commit 1022af144aaf on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the unslothai/unsloth line count measured?

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

### What commit was counted for unslothai/unsloth?

This OctoCounts report was generated from main at commit 1022af144aaf on November 16, 2026.

## Similar repository reports

- [home-assistant/core](https://octocounts.com/github/home-assistant/core) — Python, 1,725,223 code lines
- [vllm-project/vllm](https://octocounts.com/github/vllm-project/vllm) — Python, 1,693,498 code lines
- [mlflow/mlflow](https://octocounts.com/github/mlflow/mlflow) — Python, 1,571,372 code lines
- [sgl-project/sglang](https://octocounts.com/github/sgl-project/sglang) — Python, 1,903,202 code lines
- [agentscope-ai/QwenPaw](https://octocounts.com/github/agentscope-ai/QwenPaw) — Python, 1,460,846 code lines
- [Significant-Gravitas/AutoGPT](https://octocounts.com/github/Significant-Gravitas/AutoGPT) — Python, 1,451,045 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)
