What is torchtune?
maintorchtune is a PyTorch library designed for authoring, fine-tuning, and experimenting with Large Language Models (LLMs). It is built as a native-PyTorch library emphasizing simplicity, extensibility, and correctness.
Key features include:
- Modular LLM Implementations: Native-PyTorch implementations of popular models.
- Model Interoperability: Utilities for converting checkpoints from popular model zoos.
- Training Recipes: Pre-defined pipelines for various fine-tuning techniques.
- Ecosystem Integration: Works with
Hugging Face Datasetsfor training data andEleutherAI's Eval Harnessfor evaluation. - Distributed Training: Support for
FSDP(Fully Sharded Data Parallel). - Configuration: Uses YAML files to manage training runs without code changes.