awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

20 रिपॉजिटरी

Awesome GitHub RepositoriesPreference Optimization

Algorithms for aligning model outputs with human preferences directly without separate reward model training.

Distinguishing note: Focuses on direct alignment methods like DPO rather than traditional multi-stage RLHF.

Explore 20 awesome GitHub repositories matching artificial intelligence & ml · Preference Optimization. Refine with filters or upvote what's useful.

Awesome Preference Optimization GitHub Repositories

AI के साथ बेहतरीन रिपॉजिटरी खोजें।हम AI का उपयोग करके सबसे सटीक रिपॉजिटरी खोजेंगे।
  • hiyouga/llama-efficient-tuninghiyouga का अवतार

    hiyouga/LLaMA-Efficient-Tuning

    72,239GitHub पर देखें↗

    This project is a fine-tuning framework and training pipeline designed to optimize and adapt large language and vision models. It provides a specialized toolkit for parameter-efficient tuning and supervised learning, serving as both a trainer for multimodal models and a deployment tool for serving fine-tuned models via high-performance inference engines. The framework focuses on reducing memory and compute requirements by updating a small subset of model parameters. It supports a wide range of adaptation strategies, including vision-language model training to align text, image, video, and aud

    Adjusts model behavior using direct preference optimization algorithms to better match human expectations.

    Python
    GitHub पर देखें↗72,239
  • datawhalechina/hello-agentsdatawhalechina का अवतार

    datawhalechina/hello-agents

    59,685GitHub पर देखें↗

    This project provides a comprehensive framework for building, training, and managing autonomous agents. It enables the construction of systems that utilize language models to plan, manage memory, and execute multi-step tasks through iterative reasoning loops and tool-based actions. The framework distinguishes itself by offering specialized capabilities for interacting with graphical user interfaces and legacy software, allowing agents to perceive visual elements and perform actions like a human user. It supports complex, cross-application workflows through graph-based orchestration and provid

    Refines model behavior on schema-compliant outputs to prioritize user-preferred results.

    Pythonagentllmrag
    GitHub पर देखें↗59,685
  • jingyaogong/minimindjingyaogong का अवतार

    jingyaogong/minimind

    51,834GitHub पर देखें↗

    This project is a comprehensive framework for the entire lifecycle of transformer-based language models, supporting everything from foundational pretraining to specialized deployment. It provides a modular toolkit for defining neural network architectures, managing data preparation pipelines, and executing training routines across various scales. The framework is designed to handle the full model development process, including supervised fine-tuning, behavioral alignment, and the integration of agentic capabilities. What distinguishes this framework is its focus on efficient training and adva

    The framework enables preference optimization to align model responses with human preferences, improving output quality without the need for complex, separate reward models.

    Pythonartificial-intelligencelarge-language-model
    GitHub पर देखें↗51,834
  • microsoft/unilmmicrosoft का अवतार

    microsoft/unilm

    22,030GitHub पर देखें↗

    This project is a comprehensive framework and toolkit for developing, optimizing, and deploying transformer-based models across multimodal, document intelligence, and natural language processing tasks. It provides a unified neural architecture that processes text, vision, audio, and document layout data through a shared set of weights, enabling researchers and developers to build foundational models that align cross-modal representations. The platform distinguishes itself through advanced training and inference strategies designed for large-scale deep learning. It incorporates specialized mec

    Refines model outputs using direct preference optimization by comparing responses against feedback.

    Pythonbeitbeit-3bitnet
    GitHub पर देखें↗22,030
  • verl-project/verlverl-project का अवतार

    verl-project/verl

    22,000GitHub पर देखें↗

    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

    Aligns language models by generating preference pairs dynamically during training to optimize responses.

    Python
    GitHub पर देखें↗22,000
  • lvwerra/trllvwerra का अवतार

    lvwerra/trl

    18,718GitHub पर देखें↗

    This project is a transformer post-training toolkit and reinforcement learning library designed to align language model behavior with human preferences. It provides a framework for managing the transition from supervised fine-tuning to reinforcement learning and preference optimization. The library distinguishes itself through a specialized focus on preference optimization and reward modeling, enabling the adjustment of model outputs based on preferred versus rejected examples. It also includes capabilities for training agents within controlled sandbox environments using task suites and verif

    Adjusts model weights by maximizing the likelihood of preferred outputs over rejected ones.

    Python
    GitHub पर देखें↗18,718
  • huggingface/trlhuggingface का अवतार

    huggingface/trl

    18,653GitHub पर देखें↗

    This library provides a comprehensive framework for fine-tuning, aligning, and distilling transformer-based language models. It serves as a toolkit for adapting models to specialized domains through supervised learning, while offering advanced methodologies to improve output quality and reasoning capabilities. The project distinguishes itself through specialized alignment and optimization techniques, including direct preference optimization and reinforcement learning, which allow models to be tuned against human preferences without complex reward modeling. It further supports training efficie

    Aligns language models with human preferences using direct preference optimization without requiring complex reward modeling.

    Python
    GitHub पर देखें↗18,653
  • axolotl-ai-cloud/axolotlaxolotl-ai-cloud का अवतार

    axolotl-ai-cloud/axolotl

    12,059GitHub पर देखें↗

    Axolotl is a configuration-driven framework designed for the fine-tuning, evaluation, and quantization of large language models. It functions as a comprehensive orchestrator for distributed training, enabling users to manage complex workflows across multi-node and multi-GPU environments. By utilizing structured configuration files, the platform streamlines the setup of training parameters, dataset paths, and hardware distribution strategies. The project distinguishes itself through its support for diverse training methodologies, including full-parameter tuning, parameter-efficient adaptation,

    Aligns model behavior with human preferences by training on chosen and rejected response pairs or binary quality labels.

    Pythonfine-tuningllm
    GitHub पर देखें↗12,059
  • lyogavin/airllmlyogavin का अवतार

    lyogavin/airllm

    11,508GitHub पर देखें↗

    Airllm is a framework designed to execute and fine-tune large language models on consumer-grade hardware. By employing layer-wise model decomposition and memory-efficient loading techniques, the engine enables the operation of massive models that would otherwise exceed available system or video memory. The project distinguishes itself through a suite of optimization strategies that balance memory footprint with performance. It utilizes block-wise weight quantization and asynchronous layer prefetching to reduce resource consumption and hide data transfer latency. Additionally, the framework su

    Uses direct preference optimization to align model outputs with human preferences on limited hardware.

    Jupyter Notebookchinese-llmchinese-nlpfinetune
    GitHub पर देखें↗11,508
  • opengvlab/internvlOpenGVLab का अवतार

    OpenGVLab/InternVL

    10,061GitHub पर देखें↗

    InternVL is a vision-language model framework that fuses a visual encoder with a large language model to translate image features into textual tokens for reasoning. It provides a system for multimodal inference and dialogue, enabling the processing of images and text to answer questions or generate descriptions. The project is distinguished by its high-resolution image processing, which uses dynamic tiling to maintain detail for images up to 4K resolution, and its chain-of-thought visual reasoning for solving complex mathematical and spatial problems. It also supports temporal frame sampling

    Implements preference optimization to align model reasoning by learning relative quality between response pairs.

    Pythongptgpt-4ogpt-4v
    GitHub पर देखें↗10,061
  • openrlhf/openrlhfOpenRLHF का अवतार

    OpenRLHF/OpenRLHF

    9,675GitHub पर देखें↗

    OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across distributed GPU clusters. It provides tools for aligning large language models and multimodal vision-language models using algorithms such as PPO, GRPO, and DPO. The framework distinguishes itself through a distributed inference engine that overlaps sample rollout with training to increase throughput. It supports scaling to models exceeding 70 billion parameters via parameter sharding and handles long-context sequences through ring-attention sequence parallelism. The project

    Implements direct preference optimization (DPO) and similar algorithms to align models with human preferences without a separate reward model.

    Pythonlarge-language-modelsopenai-o1proximal-policy-optimization
    GitHub पर देखें↗9,675
  • intel/ipex-llmintel का अवतार

    intel/ipex-llm

    8,836GitHub पर देखें↗

    Intel XPU LLM Acceleration Library is a toolkit designed to accelerate large language model inference and finetuning on Intel CPUs, GPUs, and NPUs. It provides a distributed inference engine for scaling models across multiple accelerators, a multimodal model runtime for vision and speech tasks, and a low-bit model quantization tool for converting weights into INT4, FP8, and GGUF formats. The project features a parameter-efficient finetuning framework that enables model adaptation using QLoRA and DPO on Intel hardware. It distinguishes itself by providing specialized optimizations for Intel XP

    Implements direct preference optimization to align model behavior with human preferences on Intel hardware.

    Python
    GitHub पर देखें↗8,836
  • huggingface/smol-coursehuggingface का अवतार

    huggingface/smol-course

    6,661GitHub पर देखें↗

    This project is an educational program focused on the alignment of small language models. It provides a technical curriculum and a series of courses designed to teach how to align models with human preferences and behaviors. The material covers the implementation of preference optimization algorithms and the adaptation of vision-language models to process both text and image data simultaneously. It also includes instructional guides on synthetic data generation to improve model performance in specialized domains. The curriculum encompasses supervised fine-tuning workflows, the use of chat te

    Provides a curriculum on implementing preference optimization algorithms to align model outputs with human values.

    Jupyter Notebook
    GitHub पर देखें↗6,661
  • skyworkai/skyreels-v2SkyworkAI का अवतार

    SkyworkAI/SkyReels-V2

    6,356GitHub पर देखें↗

    SkyReels-V2 is a video generation system that creates, extends, and refines video clips from text descriptions, images, or both. It operates as a diffusion-based video generation model that can produce videos of any duration by denoising frames sequentially, with each new frame conditioned on the ones that came before it. The system supports generating videos from scratch using text prompts, starting from a single image and producing subsequent frames, or constraining both the first and last frames to match user-provided images. What distinguishes SkyReels-V2 is its combination of infinite-le

    Applies direct preference optimization on preference pairs to train the model toward physically plausible, large-motion sequences.

    Python
    GitHub पर देखें↗6,356
  • linkedin/liger-kernellinkedin का अवतार

    linkedin/Liger-Kernel

    6,148GitHub पर देखें↗

    Liger-Kernel is a collection of pre-built fused Triton kernels and patching utilities designed to accelerate large language model training. It provides drop-in kernel replacements for common LLM operations such as RMSNorm, cross-entropy loss, and attention, enabling increased throughput and reduced memory usage while preserving bitwise-exact gradients. The project serves as a toolkit for composing custom model architectures from individual optimized kernels and for patching pre-existing models with minimal code changes. The project distinguishes itself through its ability to perform runtime m

    Computes fused linear losses for alignment methods such as DPO, ORPO, SimPO, and CPO to reduce memory usage during fine-tuning.

    Pythonfinetuninggemma2hacktoberfest
    GitHub पर देखें↗6,148
  • meta-pytorch/torchtunemeta-pytorch का अवतार

    meta-pytorch/torchtune

    5,774GitHub पर देखें↗

    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. The library distinguishes itself through its comprehensive post-training workflow orchestration, combining supervised fine-tuning, preference optimization (DPO, PPO, GRPO), knowledge distillation, and quantization-aware training in a single configurable pip

    Implements an engine for aligning language model outputs with human preferences using DPO, PPO, and GRPO algorithms.

    Python
    GitHub पर देखें↗5,774
  • internlm/xtunerInternLM का अवतार

    InternLM/xtuner

    5,150GitHub पर देखें↗

    xtuner बड़े भाषा मॉडल के लिए एक व्यापक प्रशिक्षण इंजन है, जो प्री-ट्रेनिंग, सुपरवाइज्ड फाइन-ट्यूनिंग और विज़न-लैंग्वेज मल्टीमॉडल मॉडल के अनुकूलन के लिए एक टूलकिट प्रदान करता है। यह एक वितरित प्रशिक्षण त्वरक और Mixture-of-Experts मॉडल को स्केल करने और मानव फीडबैक से सुदृढीकरण शिक्षण के माध्यम से मॉडल व्यवहार को संरेखित करने के लिए एक विशेष फ्रेमवर्क के रूप में कार्य करता है। प्रोजेक्ट उन्नत मेमोरी और कंप्यूट अनुकूलन के माध्यम से खुद को अलग करता है, जैसे अल्ट्रा-लॉन्ग कॉन्टेक्स्ट विंडो के लिए सीक्वेंस पैरेललिज्म और GPU आइडल समय को कम करने के लिए इंटरलीव्ड पाइपलाइन पैरेललिज्म। यह प्राथमिकता अनुकूलन के लिए एक समर्पित सूट प्रदान करता है, जो मॉडल नीतियों और इनाम प्रणालियों को परिष्कृत करने के लिए Group Relative Policy Optimization और Direct Preference Optimization जैसी तकनीकों को लागू करता है। व्यापक क्षमता क्षेत्र कई नोड्स में वितरित मॉडल प्रशिक्षण, मल्टीमॉडल डेटासेट तैयारी और एडाप्टर-आधारित फाइन-ट्यूनिंग के प्रबंधन को कवर करते हैं। इंजन में मॉडल मूल्यांकन, वेट मर्जिंग और प्रशिक्षित मापदंडों को इन्फरेंस इंजन में निर्यात करने के लिए टूल भी शामिल हैं। प्रशिक्षण का प्रबंधन मानकीकृत कॉन्फ़िगरेशन फाइलों और वितरित लॉन्चरों के माध्यम से किया जाता है ताकि कंप्यूटिंग क्लस्टर में सुसंगत परिणाम सुनिश्चित किए जा सकें।

    Aligns models with human preferences using direct optimization methods to improve output quality.

    Pythonagentdeepseek-v3gpt-oss
    GitHub पर देखें↗5,150
  • changyeyu/llm-rl-visualizedchangyeyu का अवतार

    changyeyu/LLM-RL-Visualized

    4,529GitHub पर देखें↗

    LLM-RL-Visualized एक विजुअल रेफरेंस लाइब्रेरी और नॉलेज मैप्स का संग्रह है जिसे Large Language Model और Reinforcement Learning एल्गोरिदम को समझाने के लिए डिज़ाइन किया गया है। यह भाषा मॉडल संरेखण (alignment) और सुदृढीकरण सीखने (reinforcement learning) के चौराहे को कवर करने वाले वैचारिक आरेखों और वर्गीकरणों की एक संरचित प्रणाली प्रदान करता है। यह प्रोजेक्ट जटिल वर्कफ़्लो के विस्तृत विजुअल मैपिंग के माध्यम से खुद को अलग करता है, जैसे कि मानव फीडबैक से सुदृढीकरण सीखने में रिवॉर्ड मॉडल और पॉलिसी ऑप्टिमाइज़ेशन का समन्वय। यह RLHF और Direct Preference Optimization जैसे विभिन्न प्राथमिकता ऑप्टिमाइज़ेशन आर्किटेक्चर की तुलना करता है, और Markov Decision Processes से Actor-Critic फ्रेमवर्क तक सुदृढीकरण सीखने के एल्गोरिदम के सैद्धांतिक वंश का पता लगाता है। यह लाइब्रेरी LLM इन्फरेंस ऑप्टिमाइज़ेशन, पैरामीटर-एफिशिएंट फाइन-ट्यूनिंग तकनीकों और मॉडल डेवलपमेंट पाइपलाइन के अनुक्रमिक चरणों सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करती है। यह मॉडल कॉन्फ़िगरेशन के लिए स्ट्रक्चरल डायग्राम, टोकन डिकोडिंग रणनीतियों के विज़ुअलाइज़ेशन, और रिट्रीवल-ऑगमेंटेड जनरेशन और टूल इंटीग्रेशन के लिए ऑपरेशनल फ्लो भी प्रदान करती है। अतिरिक्त कंटेंट में मौलिक न्यूरल नेटवर्क ऑपरेशंस और Monte Carlo Tree Search और नॉलेज डिस्टिलेशन जैसे तार्किक तर्क तंत्र के चित्र शामिल हैं।

    Contrasts the architectures of RLHF and Direct Preference Optimization regarding stability and cost.

    Python
    GitHub पर देखें↗4,529
  • ml-gsai/lladaML-GSAI का अवतार

    ML-GSAI/LLaDA

    3,580GitHub पर देखें↗

    LLaDA is a masked diffusion language model and conditional text generator. It generates text by iteratively refining masked tokens through a diffusion process rather than predicting the next token in a sequence. The project functions as a vision-language diffusion model, converting visual inputs into text responses. It also serves as a preference optimization framework that uses log-likelihood estimation and evidence lower bounds to tune model responses. The system supports multi-round conversational AI and text sequence evaluation. It integrates vision-language embedding for cross-modal con

    Refines model responses based on human preferences using log-likelihood and evidence lower bounds.

    Python
    GitHub पर देखें↗3,580
  • thinking-machines-lab/tinker-cookbookthinking-machines-lab का अवतार

    thinking-machines-lab/tinker-cookbook

    2,856GitHub पर देखें↗

    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

    Runs direct preference optimization and full RLHF pipelines to align model outputs with human preferences.

    Python
    GitHub पर देखें↗2,856
  1. Home
  2. Artificial Intelligence & ML
  3. Preference Optimization

सब-टैग एक्सप्लोर करें

  • Motion Quality RefinersTraining methods that apply direct preference optimization to improve motion plausibility and temporal coherence in generated video. **Distinct from Preference Optimization:** Distinct from general Preference Optimization: focuses specifically on refining motion quality in video generation, not general model alignment.