# dpo

Direct Preference Optimization (DPO) is a language-model alignment and fine-tuning technique that adjusts model weights using human preference data without fitting an explicit reward model.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Direct Preference Optimization Beyond Chatbots

DevFeed: [Direct Preference Optimization Beyond Chatbots](<https://devfeed.tech/articles/direct-preference-optimization-beyond-chatbots-6992.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/Dharma-AI/direct-preference-optimization-beyond-chatbots>)

Author: Erick Lachmann; Gabriel Pimenta de Freitas Cardoso; Francisco de Almeida Rocha Alves

Published: 2026-06-03T12:55:11Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [dpo](<https://devfeed.tech/topics/dpo.md>), [vlm](<https://devfeed.tech/topics/vlm.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cost](<https://devfeed.tech/tags/cost.md>), [dpo](<https://devfeed.tech/tags/dpo.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [model](<https://devfeed.tech/tags/model.md>), [ocr](<https://devfeed.tech/tags/ocr.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [vision](<https://devfeed.tech/tags/vision.md>)

### AI overview

The article presents Direct Preference Optimization (DPO) as a second training stage for reducing text degeneration in DharmaOCR, a structured OCR model. Applied after supervised fine-tuning, DPO reduced degeneration across every tested model family, with an average reduction of 59.4% and a best-case reduction of 87.6%.

### Source excerpt

In April, we released DharmaOCR, our specialized structured OCR model (available on Hugging Face) along with a paper detailing the methodology behind it and a benchmark demonstrating its superior quality and cost efficiency. The paper benchmarked leading vision-language model families - both open-source and commercial - on a structured document extraction task: OCR on Brazilian Portuguese text.

## TRL v1.0: Post-Training Library Built to Move with the Field

DevFeed: [TRL v1.0: Post-Training Library Built to Move with the Field](<https://devfeed.tech/articles/trl-v1-0-post-training-library-built-to-move-with-the-field-7541.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/trl-v1>)

Author: Quentin Gallouédec; Steven Liu; Pedro Cuenca; Sergio Paniego

Published: 2026-03-31T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [trl](<https://devfeed.tech/topics/trl.md>), [post-training](<https://devfeed.tech/topics/post-training.md>), [dpo](<https://devfeed.tech/topics/dpo.md>), [grpo](<https://devfeed.tech/topics/grpo.md>), [rlvr](<https://devfeed.tech/topics/rlvr.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [code](<https://devfeed.tech/tags/code.md>), [dpo](<https://devfeed.tech/tags/dpo.md>), [grpo](<https://devfeed.tech/tags/grpo.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [post-training](<https://devfeed.tech/tags/post-training.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [rlvr](<https://devfeed.tech/tags/rlvr.md>), [software](<https://devfeed.tech/tags/software.md>), [trl](<https://devfeed.tech/tags/trl.md>), [v1](<https://devfeed.tech/tags/v1.md>)

### AI overview

TRL v1.0 presents a post-training library designed to remain useful as algorithms, models, and paradigms change. The article explains the evolution from PPO to DPO-style preference optimization and RLVR methods such as GRPO, emphasizing flexible abstractions and practical comparison over a supposedly permanent design.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.

## SyGra is a low-code/no-code framework for creating and transforming LLM and SLM datasets

DevFeed: [SyGra is a low-code/no-code framework for creating and transforming LLM and SLM datasets](<https://devfeed.tech/articles/sygra-the-one-stop-framework-for-building-data-for-llms-and-slms-7051.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/ServiceNow-AI/sygra-data-gen-framework>)

Author: Bidyapati Pradhan; Vipul Mittal; Amit Kumar Saha; Surajit Dasgupta

Published: 2025-09-22T06:45:05Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [datasets](<https://devfeed.tech/topics/datasets.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Low code](<https://devfeed.tech/topics/low-code.md>), [dpo](<https://devfeed.tech/topics/dpo.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [dpo](<https://devfeed.tech/tags/dpo.md>), [llms](<https://devfeed.tech/tags/llms.md>), [low-code](<https://devfeed.tech/tags/low-code.md>), [ollama](<https://devfeed.tech/tags/ollama.md>), [python](<https://devfeed.tech/tags/python.md>), [rag](<https://devfeed.tech/tags/rag.md>), [tgi](<https://devfeed.tech/tags/tgi.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

### AI overview

SyGra is presented as a low-code/no-code Python framework for creating, transforming, and aligning datasets for large and small language models. It supports use cases including Q&A generation, preference-pair creation, reasoning data, multilingual adaptation, quality filtering, and RAG-oriented datasets.

### Source excerpt

You start with a simple dataset, but the model fails on advanced reasoning tasks. How do you generate more complex datasets to strengthen performance? You already have a knowledge base, but it's not in Q&A format. How can you transform it into a usable question-answering dataset? You've prepared a supervised fine-tuning (SFT) dataset. But now you want to align your model using Direct Preference Optimization (DPO). How can you generate preference pairs?

## Privacy for the newly appointed (and already exasperated) DPO

DevFeed: [Privacy for the newly appointed (and already exasperated) DPO](<https://devfeed.tech/articles/privacy-for-the-newly-appointed-and-already-exasperated-dpo-29184.md>)

Original publisher: [Read original article](<https://www.latacora.com/blog/2025/06/27/privacy-for-the-newly-appointed-and-already-exasperated-dpo/>)

Published: 2025-06-27T16:09:35Z

Content type: opinion

Language: en

Sources: [Latacora](<https://devfeed.tech/sources/latacora.md>)

Topics: [dpo](<https://devfeed.tech/topics/dpo.md>), [data](<https://devfeed.tech/topics/data.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [compliance](<https://devfeed.tech/tags/compliance.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [dpo](<https://devfeed.tech/tags/dpo.md>), [gdpr](<https://devfeed.tech/tags/gdpr.md>), [law](<https://devfeed.tech/tags/law.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [trust](<https://devfeed.tech/tags/trust.md>)

### AI overview

This article offers guidance for startup employees responsible for privacy and data protection, including newly appointed Data Protection Officers. It argues that transparency, privacy by design, and data minimization help businesses maintain compliance and build customer trust, while noting the extraterritorial reach of the EU GDPR and China's PIPL.

### Source excerpt

Every other week, regulators around the world bombard their constituents with new data protection laws and acronyms. As the person who was just voluntold you're now responsible for privacy at your startup, in addition to all your other duties and without any additional resources, how can you possibly be expected to keep up--let alone contextualize that information to maintain compliance? Privacy, at its core, is an ethical issue, which means the solution to your privacy challenges is deceptively simple: do the right thing and be transparent with your customers. That's it. That's what everyone means when they say "privacy by design."