百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

dllm

> AI 编程
开源

dLLM:简单的扩散语言建模

2.7K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

dLLM:简单的扩散语言建模

dLLM

简单的扩散语言建模

报告 | 模型

## 概述 **dLLM** 是一个统一了**扩散语言模型**训练与评估的库,为整个开发流程带来透明度和可复现性: - dLLM 提供可扩展的训练流程(基于 [`transformers`](https://github.com/huggingface/transformers/blob/main/src/transformers) 的 [Trainer](https://github.com/huggingface/transformers/blob/main/src/transformers/trainer.py)),并支持 [LoRA](https://github.com/huggingface/peft)、[DeepSpeed](https://github.com/deepspeedai/DeepSpeed)、[FSDP](https://pytorch.org/blog/introducing-pytorch-fully-sharded-data-parallel-api/) 等。 - dLLM 提供统一的评估流水线(基于 [`lm-evaluation-harness`](https://github.com/EleutherAI/lm-evaluation-harness)),抽象了推理细节,使定制变得简单。 - 基于这些组件,dLLM 为开放权重模型(例如 [LLaDA](https://arxiv.org/abs/2502.09992) 和 [Dream](https://arxiv.org/abs/2508.15487))提供了极简的**训练 / 推理 / 评估**配方,以及训练算法的实现(例如 [MDLM](https://arxiv.org/abs/2406.07524)(掩码扩散)、[BD3LM](https://arxiv.org/abs/2503.09573)(块扩散)、[Edit Flows](https://arxiv.org/abs/2506.09018) 等)。 ## 新闻 **[2026/04] [`diffu-GRPO`](https://github.com/dllm-reasoning/d1)**: 我们支持掩码扩散语言模型的 diffu-GRPO 训练,并在 [LLaDA](https://arxiv.org/abs/2502.09992) 和 [Tiny-A2D](https://huggingface.co/collections/dllm-hub/tiny-a2d) 上,针对五个推理任务(GSM8K、MATH、Countdown、Sudoku、Code)进行了验证。训练说明请参阅 [`examples/rl`](/examples/rl#grpo)。 **[2026/02] ⚡[`Fast-dLLM`](https://github.com/NVlabs/Fast-dLLM)**: 我们支持对 [LLaDA](https://arxiv.org/abs/2502.09992) 和 [Dream](https://arxiv.org/abs/2508.1548) 的加速推理与评估。

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythondiscrete-diffusion-modelsllmnlp

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.