HanLP vs LlamaFactory
HanLP and LlamaFactory share 3 technologies: sentencepiece, torch, and transformers. Both are written in Python.
What they share and what sets them apart
hankcs
HanLP
中文分词 词性标注 命名实体识别 依存句法分析 成分句法分析 语义依存分析 语义角色标注 指代消解 风格转换 语义相似度 新词发现 关键词短语提取 自动摘要 文本分类聚类 拼音简繁转换 自然语言处理
Python36.5kRead on November 7, 2026, at commit 281e8efWhat is HanLP built with?In common
hiyouga
LlamaFactory
Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
Python75.9kRead on November 4, 2026, at commit 702005cWhat is LlamaFactory built with?Only in LlamaFactory
- FastAPI
uvicorn
- Gradio
matplotlib
- einops
- tiktoken
torchvision
triton-ascend
- datasets
accelerate
trl
peft
deepspeed
safetensors
- liger-kernel
- ModelScope
torchaudio
- bitsandbytes
nltk
- torchdata
- torchcodec
av
- jsonschema-specifications
- referencing
- Pydantic
Side by side
HanLPLlamaFactory
SizeLines written by people and agents, without generated ones; code files, without tests.
HanLP58,682 lines written472 code files
LlamaFactory62,624 lines written194 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
HanLP0% of its commits signed by AI
LlamaFactory1.6% of its commits signed by AIWith Gemini CLI, Claude Code, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
HanLPLast push October 25, 20261,715 commits36,536 stars
LlamaFactoryLast push November 4, 20262,769 commits75,890 stars
TestsThe files that test the code, and the share of code files a test imports.
HanLP13 test files1.9% of its code files have a test that imports them
LlamaFactory62 test files38.1% of its code files have a test that imports them
Frequently asked questions
Which is bigger, HanLP or LlamaFactory?
LlamaFactory, with 62,624 lines written; HanLP has 58,682.
Which has more GitHub stars, HanLP or LlamaFactory?
LlamaFactory, with 75,890 stars; HanLP has 36,536.
The proof: hiyouga/LlamaFactory on GitHub
Which has more tests, HanLP or LlamaFactory?
LlamaFactory, with 62 test files; HanLP has 13.
Which was updated more recently, HanLP or LlamaFactory?
LlamaFactory: its last push was on November 4, 2026, and HanLP's on October 25, 2026.
The proof: hiyouga/LlamaFactory's commits on GitHub
Which has more commits signed by AI, HanLP or LlamaFactory?
LlamaFactory: an AI signed 1.6% of its commits, with Gemini CLI, Claude Code, GitHub Copilot, and Cursor.
The proof: the commits each tool signed in hiyouga/LlamaFactory
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

