फ़ाइन-ट्यूनिंग, प्रशिक्षण और डेटा

TRL

huggingface/trl

A library for post-training transformer models with supervised fine-tuning and preference-optimization methods.

★ 19.5Kसितारे
⑂ 3.1Kफ़ोर्क्स
109खुले मुद्दे
Pythonभाषा
Apache-2.0लाइसेंस
Q84संपादकीय स्कोर

अवलोकन

TRL builds on the Transformers ecosystem and provides trainers for methods such as supervised fine-tuning (SFT), direct preference optimization (DPO), and group relative policy optimization (GRPO). It supports distributed training integrations and parameter-efficient fine-tuning workflows.

प्रमुख विशेषताएँ

  • SFT, DPO, GRPO and related trainers
  • Transformers ecosystem integration
  • Distributed training support
  • CLI and Python APIs

आवश्यकताएँ, इंस्टॉलेशन और त्वरित शुरुआत

Install the Python package with `pip install trl`; follow the docs for optional Accelerate, PEFT, and hardware setup.

उपयोग

Choose a trainer, prepare a compatible dataset and model, configure training arguments, then run the trainer or CLI command.

मॉडल संगतता और उपयोग के मामले

Designed for transformer models in the Hugging Face ecosystem; architecture and hardware support depends on the chosen method and dependencies.

लाइसेंस और जोखिम संबंधी टिप्पणियाँ

The repository declares Apache-2.0. Dataset, base-model, and hosted service terms are separate.

रिलीज़ और रखरखाव

See the official repository for current releases and changes.

Langfuse

langfuse/langfuse

★ 32.4KTypeScript

DeepSpeed

deepspeedai/deepspeed

★ 43KPython

aikit

kaito-project/aikit

★ 535Go