hiyouga/LlamaFactory has 98,342 source lines of code out of 116,039 total lines across 456 files, counted from the main ref at commit 438b3611d153 by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-20 (commit 438b3611d153), hiyouga/LlamaFactory contains 116,039 total lines: 98,342 code, 7,489 comments, 10,208 blank, across 456 files in 11 languages (top: JSON 48.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving hiyouga/LlamaFactory to commit 438b3611d153, 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.
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 216 code lines per file. JSON accounts for 48.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 20 | 47592 | 47592 | 0 | 0 |
| Python | 277 | 59598 | 46448 | 4500 | 8650 |
| YAML | 104 | 3631 | 2545 | 668 | 418 |
| SVG | 6 | 1420 | 1416 | 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 | 3203 | 0 | 2149 | 1054 |
| Plain Text | 27 | 82 | 0 | 82 | 0 |
Top language (JSON 48.4%). Generated at .
hiyouga/LlamaFactory has 116,039 total lines, including 98,342 code lines, 7,489 comment lines, and 10,208 blank lines.
OctoCounts resolved the public GitHub repository to commit 438b3611d153, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 438b3611d153 on 2026-10-20T00:19:54.665374419+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for hiyouga/LlamaFactory on this page — 98,342 code lines across 11 languages, counted by tokei.