hiyouga/LlamaFactory
GitHubUnified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
- agent
- ai
- deepseek
- fine-tuning
- gemma
- gpt
- instruction-tuning
- large-language-models
- llama
- llama3
- llm
- lora
- moe
- nlp
- peft
- qlora
- quantization
- qwen
- rlhf
- transformers
- Stars:
- 75.9k
- Language:
- Python
- Default branch:
- main
- Last scored:
78.8
Overall
At a glance
- Rank
- #79 of 401
- Top 20% · #21 of 56 Python repos
- Checks passed
- 9 of 17
- Full list below
- Best set up for
- Claude Code
- Score 87.2
- Needs most work for
- Cursor
- Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Type configurationAdd a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.+7.9 pts
- 2Reproducible dev envAdd a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.+3.6 pts
- 3Manageable sizeIf possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.+1.3 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does hiyouga/LlamaFactory have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
CLAUDE.md(new tab) · 3,901 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 29 of 56 Python repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 9 passed
✗
Skills (.agents/skills)· 0% pass
No .agents/skills/<name>/SKILL.md
✓
✗
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
✓
✓
✗
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
✓
~
✗
GEMINI.md· 0% pass
No GEMINI.md at repo root
✓
✓
✗
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
✓
~
Manageable size· 80% pass
594 files
✓
✗
Type configuration· 0% pass
No type config found
How hiyouga/LlamaFactory compares
- vs leaderboard average
- 12.0 pts above
- Average 66.8
- vs Python average
- 7.8 pts above
- Average 71.0
- Stars among Python repos
- #15 of 56
Missing here, and how many repos have it
- Type configuration · passed by 68% of leaderboard repos, 57% of Python repos
- Skills (.agents/skills) · passed by 17% of leaderboard repos, 20% of Python repos
- Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 7% of Python repos
Passes checks most repos miss
- Pre-commit / git hooks · only 29% of repos pass it
One fix for the most agents: Type configuration would raise the score for all 9 agents, by up to 11.5 points.
Similar repos
Same language and host as this repo, closest in overall score.
- Textualize/rich80.1Python · 57.7k ★
- psf/black80.1Python · 42.1k ★
- Python · 156.3k ★
- github/spec-kit78.8Python · 146.9k ★
- pallets/flask78.7Python · 74.9k ★
- Python · 68k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- Python · deepseek, gpt, llama, LLM, moe, qwen
- Python · deepseek, llama, LLM, moe, qwen
- ollama/ollama76.7Go · deepseek, gemma, llama, LLM, qwen
- Python · deepseek, gemma, LLM, nlp, qwen
- Python · AI agents, fine tuning, LLM
- TypeScript · AI agents, gpt, LLM
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/hiyouga/LlamaFactory)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.