awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
eric-mitchell avatar

eric-mitchell/direct-preference-optimization

0
View on GitHub↗
2,888 stars·236 forks·Python·Apache-2.0·3 vues

Direct Preference Optimization

Ce projet est un framework destiné à aligner les grands modèles de langage (LLM) sur les préférences humaines. Il fournit une bibliothèque permettant d'optimiser le comportement des modèles en mappant directement les données de préférence sur un objectif de politique, sans avoir recours à un modèle de récompense distinct.

Le framework utilise un objectif mathématique en forme fermée pour ajuster les poids du modèle en maximisant la probabilité des réponses préférées par rapport aux autres. Il inclut une boîte à outils pour le fine-tuning supervisé, permettant aux utilisateurs d'établir une base de référence stable sur des données de démonstration avant d'appliquer des techniques d'optimisation basées sur les préférences.

La bibliothèque prend en charge l'entraînement distribué, permettant de mettre à l'échelle l'alignement des modèles sur plusieurs accélérateurs matériels grâce au sharding de données et à des stratégies de parallélisation. Elle fournit également des utilitaires pour préparer des jeux de données de préférence personnalisés, en mappant les prompts et les paires de réponses pour structurer le feedback humain destiné au pipeline d'entraînement.

Features

  • Direct Preference Optimization - Optimizes language models using human feedback data through direct preference optimization algorithms.
  • Preference Alignment Objectives - Adjusts model weights by maximizing the likelihood of preferred responses relative to dispreferred ones using a closed-form mathematical objective.
  • Reward Modeling - Optimizes language models by mapping preference data directly to a policy objective without requiring a separate reward model.
  • Fine-Tuning Toolkits - Provides a collection of training utilities for aligning language models on specific datasets.
  • Gradient-Based Parameter Updates - Updates model parameters by calculating divergence between preferred and rejected outputs to shift probability distributions.
  • Data Parallelism - Splits training datasets across multiple devices and synchronizes gradients to accelerate model alignment.
  • Large Language Models - Optimizes language models using human preference data to ensure generated outputs match desired behaviors.
  • Large-Scale Model Training - Scales the training process across multiple hardware accelerators to reduce computation time for large models.
  • Distributed Training - Scales model training across multiple hardware accelerators using parallelization strategies like data sharding.
  • Large Language Model Training Frameworks - Provides a framework for scaling the training of large language models across multiple hardware accelerators.
  • Supervised Fine-Tuning Workflows - Trains language models on curated datasets to establish a strong baseline performance before applying advanced optimization techniques.
  • Supervised Fine-Tuning - Establishes a stable baseline by training the model on high-quality demonstration data before applying preference-based fine-tuning.
  • Model Fine-Tuning - Trains models on specific datasets to ensure policy data remains in-distribution before applying preference-based learning.

Historique des stars

Graphique de l'historique des stars pour eric-mitchell/direct-preference-optimizationGraphique de l'historique des stars pour eric-mitchell/direct-preference-optimization

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Direct Preference Optimization

Sélections manuelles où Direct Preference Optimization apparaît.
  • Frameworks d'optimisation et d'auto-tuning de prompts
  • Frameworks d'alignement et de RLHF pour LLM

Questions fréquentes

Que fait eric-mitchell/direct-preference-optimization ?

Ce projet est un framework destiné à aligner les grands modèles de langage (LLM) sur les préférences humaines. Il fournit une bibliothèque permettant d'optimiser le comportement des modèles en mappant directement les données de préférence sur un objectif de politique, sans avoir recours à un modèle de récompense distinct.

Quelles sont les fonctionnalités principales de eric-mitchell/direct-preference-optimization ?

Les fonctionnalités principales de eric-mitchell/direct-preference-optimization sont : Direct Preference Optimization, Preference Alignment Objectives, Reward Modeling, Fine-Tuning Toolkits, Gradient-Based Parameter Updates, Data Parallelism, Large Language Models, Large-Scale Model Training.

Quelles sont les alternatives open-source à eric-mitchell/direct-preference-optimization ?

Les alternatives open-source à eric-mitchell/direct-preference-optimization incluent : internlm/xtuner — xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised… allenai/open-instruct — Open-Instruct is a distributed training and instruction tuning framework for large language models. It functions as a… huggingface/alignment-handbook — This project is an alignment framework and suite of pipelines for training language models using supervised… nndl/llm-beginner — This project is a collection of educational resources and technical guides focused on the development and… eleutherai/gpt-neox — gpt-neox is a distributed training system and framework for building large-scale autoregressive language models. It… inclusionai/areal — AReaL is a system for agent orchestration, distributed model training, and parameter-efficient tuning. It provides a…

Alternatives open source à Direct Preference Optimization

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Direct Preference Optimization.
  • internlm/xtunerAvatar de InternLM

    InternLM/xtuner

    5,150Voir sur GitHub↗

    xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised fine-tuning, and the optimization of vision-language multimodal models. It serves as a distributed training accelerator and a specialized framework for scaling Mixture-of-Experts models and aligning model behavior through reinforcement learning from human feedback. The project distinguishes itself through advanced memory and compute optimizations, such as sequence parallelism for ultra-long context windows and interleaved pipeline parallelism to reduce GPU idle time. It provide

    Pythonagentdeepseek-v3gpt-oss
    Voir sur GitHub↗5,150
  • allenai/open-instructAvatar de allenai

    allenai/open-instruct

    3,586Voir sur GitHub↗

    Open-Instruct is a distributed training and instruction tuning framework for large language models. It functions as a coordinator for supervised fine-tuning, reinforcement learning from human feedback pipelines, and tool-use training, providing specialized roles for dataset curation and model alignment. The project distinguishes itself through a high-performance training architecture that utilizes actor-based distributed coordination and hybrid sharding to manage large GPU clusters. It implements advanced alignment techniques including direct preference optimization, group relative policy opt

    Python
    Voir sur GitHub↗3,586
  • huggingface/alignment-handbookAvatar de huggingface

    huggingface/alignment-handbook

    5,621Voir sur GitHub↗

    This project is an alignment framework and suite of pipelines for training language models using supervised fine-tuning and preference optimization. It provides tools for executing large-scale distributed training across multiple GPUs and compute nodes, alongside a system for measuring model helpfulness and dialogue quality through single-turn and multi-turn benchmarks. The framework includes specialized tools for direct preference optimization to refine model behavior using paired data without a separate reward model. It also supports constitutional AI alignment and the training of reward mo

    Python
    Voir sur GitHub↗5,621
  • nndl/llm-beginnerAvatar de nndl

    nndl/llm-beginner

    6,421Voir sur GitHub↗

    This project is a collection of educational resources and technical guides focused on the development and implementation of large language models. It provides a comprehensive curriculum covering transformer architectures, training methods, and deployment strategies. The materials provide detailed instructions for building autonomous agents using reasoning loops and tool integration, as well as guides for fine-tuning models through supervised learning and preference optimization. It also includes tutorials for constructing retrieval augmented generation pipelines and implementing transformer m

    Pythonagentfudannlpllm
    Voir sur GitHub↗6,421
  • Voir les 30 alternatives à Direct Preference Optimization→