Source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/microsoft/unilm
Markdown source: https://seerepo.com/compare/hiyouga/LlamaFactory/vs/microsoft/unilm.md
Description: LlamaFactory and unilm share 15 technologies: FastAPI, Gradio, einops, sentencepiece, tiktoken, torchvision, transformers, torch, datasets, accelerate, peft, deepspeed, torchaudio, bitsandbytes, and nltk. Both are written in Python.

# LlamaFactory vs unilm

LlamaFactory and unilm share 15 technologies: FastAPI, Gradio, einops, sentencepiece, tiktoken, torchvision, transformers, torch, datasets, accelerate, peft, deepspeed, torchaudio, bitsandbytes, and nltk. Both are written in Python.

- [hiyouga/LlamaFactory](https://seerepo.com/r/hiyouga/LlamaFactory): Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
- [microsoft/unilm](https://seerepo.com/r/microsoft/unilm): Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities

## What they share and what sets them apart

- In common: FastAPI, Gradio, einops, sentencepiece, tiktoken, torchvision, transformers, torch, datasets, accelerate, peft, deepspeed, torchaudio, bitsandbytes, nltk
- Only in LlamaFactory: uvicorn, matplotlib, triton-ascend, trl, safetensors, liger-kernel, ModelScope, torchdata, torchcodec, av, jsonschema-specifications, referencing, Pydantic
- Only in unilm: Flask, pyarrow, webdataset, OpenAI, scikit-learn, timm, opencv-python, sacrebleu, diffusers, tokenizers, triton, vLLM, torchmetrics, pycocotools, pillow, lxml, boto3

## Side by side

| | LlamaFactory | unilm |
|---|---|---|
| Size | 62,624 lines written, 194 code files | 769,203 lines written, 2,555 code files |
| Who writes it | 1.6% of its commits signed by AI. With Gemini CLI, Claude Code, GitHub Copilot, and Cursor | 0% of its commits signed by AI |
| Activity | Last push November 4, 2026, 2,769 commits, 75,890 stars | Last push September 21, 2026, 1,092 commits, 22,240 stars |
| Tests | 62 test files. 38.1% of its code files have a test that imports them | 163 test files. 5.1% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, LlamaFactory or unilm?

unilm, with 769,203 lines written; LlamaFactory has 62,624.

The proof: [microsoft/unilm's code at commit 31c5b90](https://github.com/microsoft/unilm/tree/31c5b904ca1bf2afb4c234a6675c683a4e5fc7cd)

### Which has more GitHub stars, LlamaFactory or unilm?

LlamaFactory, with 75,890 stars; unilm has 22,240.

The proof: [hiyouga/LlamaFactory on GitHub](https://github.com/hiyouga/LlamaFactory)

### Which has more tests, LlamaFactory or unilm?

unilm, with 163 test files; LlamaFactory has 62.

The proof: [microsoft/unilm's code at commit 31c5b90](https://github.com/microsoft/unilm/tree/31c5b904ca1bf2afb4c234a6675c683a4e5fc7cd)

### Which was updated more recently, LlamaFactory or unilm?

LlamaFactory: its last push was on November 4, 2026, and unilm's on September 21, 2026.

The proof: [hiyouga/LlamaFactory's commits on GitHub](https://github.com/hiyouga/LlamaFactory/commits)

### Which has more commits signed by AI, LlamaFactory or unilm?

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](https://seerepo.com/r/hiyouga/LlamaFactory/ai)

## Sources

- hiyouga/LlamaFactory: Read on November 4, 2026, at commit 702005c (https://github.com/hiyouga/LlamaFactory/tree/702005ce5237ae10f3c572c3f7741ecfd1422fc9)
- microsoft/unilm: Read on November 5, 2026, at commit 31c5b90 (https://github.com/microsoft/unilm/tree/31c5b904ca1bf2afb4c234a6675c683a4e5fc7cd)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
