Home

Awesome

๐ŸŒŸ Simplifine ๐ŸŒŸ

Super-Easy, Open-Source Cloud-Based LLM Finetuning

Try here Open In Colab

Join our Discord Join our Discord

Get a FREE API Key for FINETUNING HERE

Simplifine streamlines LLM finetuning on any dataset or model with one simple command, handling all infrastructure, job management, cloud storage, and inference.

Features


๐Ÿ Quickstart

Get started here > Open In Colab

๐Ÿ“š Documentation

Find our full documentation at docs.simplifine.com.

๐Ÿ“ฆ Installation

Installing from PyPI

pip install simplifine-alpha

You can also directly install from github using the following command:

pip install git+https://github.com/simplifine-llm/Simplifine.git

๐Ÿค Contributing

We are looking for contributors! Join the contributors thread on our Discord: Join our Discord

๐Ÿ“„ License

Simplifine is licensed under the GNU General Public License Version 3. See the LICENSE file for more details.

๐Ÿ’ฌ Support

For all feature-requests, bugs and support, join our Discord! Join our Discord

If you have any suggestions for new features you'd like to see implemented, please raise an issueโ€”we will work hard to make it happen ASAP!

For any other questions, feel free to contact us at founders@simplifine.com.

๐Ÿ”„ Updates

v0.0.8

v0.0.71

โ›ฎ General Compute Considerations

We currently support both DistributedDataParallel (DDP) and ZeRO from DeepSpeed.

TL;DR:

Longer Version:

Example Scenarios and Appropriate Optimization Methods:

  1. LLaMA-3-8b model with 16-bit precision: Use ZeRO Stage 3 on 8 A100s.
  2. LLaMA-3-8b model with LoRA adapters: Usually fine with DDP on A100s.
  3. GPT-2 with 16-bit precision: Use DDP.

๐Ÿชฒ FAQs

Issue: RuntimeError: Error building extension 'cpu_adam' python dev

This error occurs when python-dev is not installed, and ZeRO is using offload. To resolve this, try:

# Try sudo apt-get install python3-dev if the following fails.
apt-get install python-dev   # for Python 2.x installs
apt-get install python3-dev  # for Python 3.x installs

See this link