SuperAPIAI Directory

Simplifine

github.com · AI developer platforms

Simplifine lets you invoke LLM finetuning with just one line of code using any Hugging Face dataset or model.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Simplifine is an open-source large language model fine-tuning tool designed to simplify the LLM fine-tuning process. According to official information, it allows users to fine-tune any dataset or model with a single command, and automatically handles infrastructure, job management, cloud storage, and inference.

Main capabilities include:

  • Cloud LLM fine-tuning: fine-tune any LLM with just one command.
  • Seamless cloud integration: automatically manage downloading, storing, and running models from the cloud.
  • Built-in AI assistance: helps select hyperparameters, generate synthetic datasets, and perform data quality checks.
  • Device-to-cloud switching: add a simple decorator to transition from local training to cloud training.
  • Automatic optimization: automatically optimize model and data parallelism through DeepSpeed and FDSP.
  • Custom evaluation support: use the built-in LLM for evaluation, or import custom evaluation metrics.
  • Community support: ask questions on the Simplifine community Discord.
  • Trusted by leading institutions: research labs at the University of Oxford rely on Simplifine for LLM fine-tuning.

Usage:

  • Install from PyPI, or install directly from GitHub.
  • Full documentation is available at docs.simplifine.com.
  • A free fine-tuning API key is available through Discord.
  • Supports Hugging Face API Token to access restricted models.

Compute optimization: Currently supports DistributedDataParallel (DDP) and DeepSpeed's ZeRO. DDP is suitable when the model can fit into GPU memory (including gradients and activations). ZeRO is suitable when the model needs to be sharded across multiple GPUs, and supports offloading to CPU.

Example scenarios and optimization methods:

  • LLaMA-3-8b model, 16-bit precision: use ZeRO Stage 3 on 8 A100s.
  • LLaMA-3-8b model, LoRA adapter: usually DDP on A100 is sufficient.
  • GPT-2, 16-bit precision: use DDP.

Limitations and known issues:

  • The runtime error "RuntimeError: Error building extension 'cpu_adam'" occurs when python-dev is not installed and ZeRO uses offloading.
  • License: GNU General Public License Version 3.
  • For feature requests, bugs, and support, please join Discord.
  • For other questions, contact founders@simplifine.com.

Updates:

  • Bug fixes: simplified the code and resolved trainer-related issues, making runs smoother.
  • New feature: introduced support for defining more complex configuration files, enhancing the trainer's flexibility.
  • Documentation: added new examples, including a cloud training tutorial and a tutorial on creating a fake news detector.
  • Updated documentation: see the latest documentation at docs.simplifine.com.
  • Bug fixes: fixed an issue that caused loading failures under certain configurations, ensuring broader compatibility.
  • New feature: support installation directly from Git, and added support for Hugging Face API Token, allowing access to restricted models.
  • Documentation: updated examples to reflect the latest features.

Not yet provided: specific pricing information, prices, platform support details, performance data, etc.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools