Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a config-driven system for instantiating components, orchestrating distributed training, and managing parameter-efficient fine-tuning with quantization support, all through YAML-based configurations and command-line overrides.
meta-pytorch/torchtune 的主要功能包括:LLM Workflow Orchestrations, Config-Driven Dataset Builders, Pretrained Model Snapshots, Direct Preference Optimization, Distributed Training Orchestration, End-to-End Training Pipelines, Custom Data Fine-Tunings, LLM Fine-Tuning。
meta-pytorch/torchtune 的开源替代品包括: pytorch/torchtune — Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a… thinking-machines-lab/tinker-cookbook — Tinker Cookbook is an open-source framework for fine-tuning large language models, supporting supervised learning,… hiyouga/chatglm-efficient-tuning — ChatGLM-Efficient-Tuning is a fine-tuning framework and toolkit designed to optimize large language models using… verl-project/verl — This project is a distributed training infrastructure designed for aligning large language models through… huggingface/alignment-handbook — This project is an alignment framework and suite of pipelines for training language models using supervised… huggingface/smol-course — This project is an educational program focused on the alignment of small language models. It provides a technical…
Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a configurable training pipeline orchestrated through YAML recipes, with CLI overrides and component swapping, distributed training via FSDP2, memory optimizations, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA. The library distinguishes itself through its YAML-driven configuration system that defines all training parameters and instantiates components from config files, with full CLI override capability for any field or component at launch time. It suppo
Tinker Cookbook is an open-source framework for fine-tuning large language models, supporting supervised learning, reinforcement learning, and parameter-efficient techniques like LoRA adapters. It provides a complete pipeline for aligning models with human preferences through multi-stage RLHF workflows, from supervised fine-tuning through preference optimization to reinforcement learning. The framework distinguishes itself through recipe-based training orchestration, where fine-tuning workflows are defined as composable recipe files that chain data loading, model configuration, and training l
ChatGLM-Efficient-Tuning is a fine-tuning framework and toolkit designed to optimize large language models using parameter-efficient fine-tuning techniques. It provides a pipeline for adjusting model behavior and reducing the memory and compute requirements necessary for training. The project features a web-based trainer and orchestration interface for configuring and executing the fine-tuning process on a single GPU. It supports quantized training in lower precision formats to enable fine-tuning on hardware with limited memory, as well as reinforcement learning from human feedback for model
This project is a distributed training infrastructure designed for aligning large language models through reinforcement learning. It functions as an end-to-end engine for complex alignment tasks, including proximal policy optimization, direct preference optimization, and iterative self-play. By providing a unified framework for multi-turn interactions and tool-use scenarios, it enables the development of models capable of reasoning and external environment engagement. The framework distinguishes itself through a decoupled architecture that separates model training from sample generation. This