FlagEmbedding vs LlamaFactory

FlagEmbedding and LlamaFactory share 13 technologies: bitsandbytes, ModelScope, sentencepiece, transformers, torch, datasets, accelerate, peft, torchvision, deepspeed, vLLM, einops, and tiktoken. Both are written in Python.

Read it as markdown

What they share and what sets them apart

Only in FlagEmbedding

In common

hiyouga

LlamaFactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

Python76kRead on November 9, 2026, at commit 28462f1What is LlamaFactory built with?

Only in LlamaFactory

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
FlagEmbedding97,836 lines written428 code files
LlamaFactory62,648 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.
FlagEmbedding0% 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.
FlagEmbeddingLast push October 27, 20261,204 commits12,314 stars
LlamaFactoryLast push November 9, 20262,772 commits75,956 stars
TestsThe files that test the code, and the share of code files a test imports.
FlagEmbedding22 test files0.2% 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, FlagEmbedding or LlamaFactory?
FlagEmbedding, with 97,836 lines written; LlamaFactory has 62,648.

The proof: FlagOpen/FlagEmbedding's code at commit 897baa6

Which has more GitHub stars, FlagEmbedding or LlamaFactory?
LlamaFactory, with 75,956 stars; FlagEmbedding has 12,314.

The proof: hiyouga/LlamaFactory on GitHub

Which has more tests, FlagEmbedding or LlamaFactory?
LlamaFactory, with 62 test files; FlagEmbedding has 22.

The proof: hiyouga/LlamaFactory's code at commit 28462f1

Which was updated more recently, FlagEmbedding or LlamaFactory?
LlamaFactory: its last push was on November 9, 2026, and FlagEmbedding's on October 27, 2026.

The proof: hiyouga/LlamaFactory's commits on GitHub

Which has more commits signed by AI, FlagEmbedding 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.

Or look inside SeeRepo's own →