# hiyouga/LlamaFactory SLOC report

> hiyouga/LlamaFactory: 97,889 code lines at commit 1fded918ac47, counted with tokei-14.0.0 on 2026-10-11. Saved result f9a762ea2793b5376e54ca3cf92e9e3c8a5bb3326e37083d4f91c733bbf29b6b.

hiyouga/LlamaFactory has 97,889 source lines of code out of 115,487 total lines across 454 files, counted from the main ref at commit 1fded918ac47 by the OctoCounts tokei engine on 2026-10-11. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.

OctoCounts produced this report by resolving hiyouga/LlamaFactory to commit 1fded918ac47, 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, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.

## Counting rules and retention

hiyouga/LlamaFactory: counting rules unknown; engine tokei-14.0.0.

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.8% of all lines, comments represent 6.5%, and the repository averages 216 code lines per file. JSON accounts for 48.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 20 | 47,592 | 47,592 | 0 | 0 |
| Python | 275 | 59,046 | 45,995 | 4,469 | 8,582 |
| YAML | 104 | 3,631 | 2,545 | 668 | 418 |
| 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,203 | 0 | 2,149 | 1,054 |
| Plain Text | 27 | 82 | 0 | 82 | 0 |

Top language (JSON 48.6%). Generated at 2026-10-11T03:06:26.266325614Z. Canonical report: https://octocounts.com/github/hiyouga/LlamaFactory/commit/1fded918ac4723ac9966363f51ed4500866c5d1d?reportId=f9a762ea2793b5376e54ca3cf92e9e3c8a5bb3326e37083d4f91c733bbf29b6b&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/1fded918ac4723ac9966363f51ed4500866c5d1d?reportId=f9a762ea2793b5376e54ca3cf92e9e3c8a5bb3326e37083d4f91c733bbf29b6b&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 115,487 total lines, including 97,889 code lines, 7,458 comment lines, and 10,140 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 1fded918ac47, 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 1fded918ac47 on 2026-10-11T03:06:26.266325614Z.

## Similar repository reports

- [guanmo-ai/awesome-ai-motion](https://octocounts.com/github/guanmo-ai/awesome-ai-motion) — JSON, 98,522 code lines
- [SpaiR/imgui-java](https://octocounts.com/github/SpaiR/imgui-java) — JSON, 98,939 code lines
- [wcandillon/react-native-skia](https://octocounts.com/github/wcandillon/react-native-skia) — JSON, 96,036 code lines
- [ScoopInstaller/Extras](https://octocounts.com/github/ScoopInstaller/Extras) — JSON, 95,190 code lines
- [IAAR-Shanghai/CRUD_RAG](https://octocounts.com/github/IAAR-Shanghai/CRUD_RAG) — JSON, 94,601 code lines
- [ForceInjection/AI-fundamentals](https://octocounts.com/github/ForceInjection/AI-fundamentals) — JSON, 94,092 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)
- [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)
