#46 · Primary category: Deep Learning Frameworks

LMFlow

chatgpt deep-learning instruction-following language-model pretrained-models pytorch transformer

An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All.

Project last updated:08/10/26

GitHub Stars

8.5K

Forks

825

Contributors

48

License

Apache-2.0

Why we included this project

LMFlow is a practical toolkit for teams that need to take an open-weight model and make it their own. Instead of assembling separate scripts for dataset prep, supervised finetuning (full or LoRA), and serving, you get one pipeline that carries a model from raw data to deployed inference. The memory story is worth attention: the LISA technique can train a 7B model in about 24GB without offloading, which puts serious finetuning within reach of a single researcher on one GPU. Ready-to-run scripts, conversation templates for models like Llama-3 and Phi-3, and speculative decoding for faster generation round out the package, so a real workload can be up and running quickly and then tuned. For instruction tuning, domain adaptation, or lightweight alignment experiments, this is a well-documented place to start.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category