# hiyouga/LlamaFactory SLOC report

> hiyouga/LlamaFactory: 98,970 code lines at commit fc4f229430a2, counted with tokei-15.0.0 on 2026-11-16. Saved result 97f250a72874f04c9711b24b48a2df9853ee26437a9417b60b59bd7cc1935082.

hiyouga/LlamaFactory has 98,970 source lines of code out of 116,848 total lines across 460 files, counted with tokei from the main ref at commit fc4f229430a2 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving hiyouga/LlamaFactory to commit fc4f229430a2, 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

hiyouga/LlamaFactory: 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 84.7% of all lines, comments represent 6.5%, and the repository averages 215 code lines per file. Python is the largest programming language at 47.5% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 20 | 47,592 | 47,592 | 0 | 0 |
| Python | 279 | 60,332 | 47,025 | 4,551 | 8,756 |
| YAML | 106 | 3,699 | 2,596 | 680 | 423 |
| SVG | 6 | 1,420 | 1,416 | 2 | 2 |
| Dockerfile | 4 | 280 | 144 | 77 | 59 |
| TOML | 1 | 149 | 133 | 6 | 10 |
| Shell | 4 | 52 | 41 | 5 | 6 |
| Makefile | 1 | 31 | 22 | 0 | 9 |
| Autoconf | 1 | 1 | 1 | 0 | 0 |
| Markdown | 11 | 3,209 | 0 | 2,153 | 1,056 |
| Plain Text | 27 | 83 | 0 | 83 | 0 |

Top programming language: Python 47.5%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/hiyouga/LlamaFactory/commit/fc4f229430a2bb30cfbf47dd0ce3f37429821804?reportId=97f250a72874f04c9711b24b48a2df9853ee26437a9417b60b59bd7cc1935082&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/hiyouga/LlamaFactory/commit/fc4f229430a2bb30cfbf47dd0ce3f37429821804?reportId=97f250a72874f04c9711b24b48a2df9853ee26437a9417b60b59bd7cc1935082&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 hiyouga/LlamaFactory have?

hiyouga/LlamaFactory has 98,970 lines of code, plus 7,557 comment lines and 10,321 blank lines, for 116,848 total lines at commit fc4f229430a2 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the hiyouga/LlamaFactory line count measured?

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

### What commit was counted for hiyouga/LlamaFactory?

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

## Similar repository reports

- [subodhkc/tmf-2026-evidence](https://octocounts.com/github/subodhkc/tmf-2026-evidence) — JSON, 98,737 code lines
- [SpaiR/imgui-java](https://octocounts.com/github/SpaiR/imgui-java) — JSON, 99,340 code lines
- [ClawLabsAI/free-ai-models](https://octocounts.com/github/ClawLabsAI/free-ai-models) — JSON, 99,394 code lines
- [synchopate/llama-modchip](https://octocounts.com/github/synchopate/llama-modchip) — JSON, 99,559 code lines
- [Yaneart/yaneMedia](https://octocounts.com/github/Yaneart/yaneMedia) — JSON, 97,617 code lines
- [google/rust-skills](https://octocounts.com/github/google/rust-skills) — JSON, 100,704 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)
